ole32/tests: Check function pointer.
This commit is contained in:
parent
0f4c77d877
commit
f0806fd68c
|
@ -431,6 +431,12 @@ static void test_CoGetClassObject(void)
|
|||
CloseHandle(info.wait);
|
||||
CloseHandle(info.stop);
|
||||
|
||||
if (!pRegOverridePredefKey)
|
||||
{
|
||||
win_skip("RegOverridePredefKey not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
pCoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
|
||||
hr = CoGetClassObject(rclsid, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void **)&pUnk);
|
||||
|
|
Loading…
Reference in New Issue