ole32: Check function pointer

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Jun 3 05:56:13 CDT 2013


Hi,


Changelog:
     ole32: Check function pointer


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From ece21524605989e2d8315a77bf4e06a9a7a0a932 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Sun, 2 Jun 2013 20:25:15 +1000
Subject: [PATCH] Check function pointer
To: wine-patches <wine-patches at winehq.org>

---
 dlls/ole32/tests/compobj.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dlls/ole32/tests/compobj.c b/dlls/ole32/tests/compobj.c
index d0adf79..f2cdf6d 100644
--- a/dlls/ole32/tests/compobj.c
+++ b/dlls/ole32/tests/compobj.c
@@ -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);
-- 
1.8.1.2



More information about the wine-patches mailing list