From a60fadfad29bcbb564ed01afec8b585e627f9361 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 20 Oct 2014 11:14:00 -0500 Subject: [PATCH] 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 f1cae1f88f1..40ae014f2dc 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 cc10935aefd..988060fe323 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; +}