Austin English : advapi32: Add a stub for WmiOpenBlock.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 21 09:49:44 CDT 2014


Module: wine
Branch: master
Commit: a60fadfad29bcbb564ed01afec8b585e627f9361
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a60fadfad29bcbb564ed01afec8b585e627f9361

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Oct 20 11:14:00 2014 -0500

advapi32: Add a stub for WmiOpenBlock.

---

 dlls/advapi32/advapi32.spec | 2 +-
 dlls/advapi32/eventlog.c    | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

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-cvs mailing list