advapi32: add a stub for WmiOpenBlock
Austin English
austinenglish at gmail.com
Mon Oct 20 11:14:00 CDT 2014
For https://bugs.winehq.org/show_bug.cgi?id=7920
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141020/ab6f885e/attachment.html>
-------------- next part --------------
diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index f1cae1f..40ae014 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -806,7 +806,7 @@
# @ stub WmiMofEnumerateResourcesW
# @ stub WmiNotificationRegistrationA
# @ stub WmiNotificationRegistrationW
-@ stub WmiOpenBlock
+@ stdcall WmiOpenBlock(ptr long ptr)
# @ stub WmiOpenTraceWithCursor
# @ stub WmiParseTraceEvent
# @ stub WmiQueryAllDataA
diff --git a/dlls/advapi32/eventlog.c b/dlls/advapi32/eventlog.c
index cc10935..988060f 100644
--- a/dlls/advapi32/eventlog.c
+++ b/dlls/advapi32/eventlog.c
@@ -997,3 +997,12 @@ ULONG WINAPI EnumerateTraceGuids(PTRACE_GUID_PROPERTIES *propertiesarray,
FIXME("%p %d %p: stub\n", propertiesarray, arraycount, guidcount);
return ERROR_INVALID_PARAMETER;
}
+
+/******************************************************************************
+ * WmiOpenBlock [ADVAPI32.@]
+ */
+NTSTATUS WINAPI WmiOpenBlock(GUID *guid, ULONG access, PVOID *datablock)
+{
+ FIXME("%s %d %p: stub\n", debugstr_guid(guid), access, datablock);
+ return ERROR_SUCCESS;
+}
More information about the wine-patches
mailing list