ole32/tests: Check function pointer.

This commit is contained in:
Alistair Leslie-Hughes 2013-06-02 20:25:15 +10:00 committed by Alexandre Julliard
parent 0f4c77d877
commit f0806fd68c
1 changed files with 6 additions and 0 deletions

View File

@ -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);