ole32: Remove ERR() output that's not really helpful.
This commit is contained in:
parent
747c649d99
commit
e593c3068c
|
@ -2378,10 +2378,7 @@ HRESULT WINAPI ProgIDFromCLSID(REFCLSID clsid, LPOLESTR *ppszProgID)
|
||||||
LONG progidlen = 0;
|
LONG progidlen = 0;
|
||||||
|
|
||||||
if (!ppszProgID)
|
if (!ppszProgID)
|
||||||
{
|
|
||||||
ERR("ppszProgId isn't optional\n");
|
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
}
|
|
||||||
|
|
||||||
*ppszProgID = NULL;
|
*ppszProgID = NULL;
|
||||||
|
|
||||||
|
@ -2449,10 +2446,7 @@ HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID clsid)
|
||||||
ACTCTX_SECTION_KEYED_DATA data;
|
ACTCTX_SECTION_KEYED_DATA data;
|
||||||
|
|
||||||
if (!progid || !clsid)
|
if (!progid || !clsid)
|
||||||
{
|
|
||||||
ERR("neither progid (%p) nor clsid (%p) are optional\n", progid, clsid);
|
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
}
|
|
||||||
|
|
||||||
data.cbSize = sizeof(data);
|
data.cbSize = sizeof(data);
|
||||||
if (FindActCtxSectionStringW(0, NULL, ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
|
if (FindActCtxSectionStringW(0, NULL, ACTIVATION_CONTEXT_SECTION_COM_PROGID_REDIRECTION,
|
||||||
|
@ -2534,10 +2528,7 @@ HRESULT WINAPI CoGetPSClsid(REFIID riid, CLSID *pclsid)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pclsid)
|
if (!pclsid)
|
||||||
{
|
|
||||||
ERR("pclsid isn't optional\n");
|
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
}
|
|
||||||
|
|
||||||
EnterCriticalSection(&apt->cs);
|
EnterCriticalSection(&apt->cs);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue