From: Austin English Subject: advapi32: add a stub for WmiOpenBlock Message-Id: Date: Mon, 20 Oct 2014 11:14:00 -0500 For https://bugs.winehq.org/show_bug.cgi?id=7920 -- -Austin
For https://bugs.winehq.org/show_bug.cgi?id=7920

--
-Austin
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; +}