From d91cf685e1fadf90c5103393a2ea0bef1ed78a46 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Tue, 28 Nov 2017 09:58:49 -0700 Subject: [PATCH] wevtapi: Add EvtOpenSession stub. Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- dlls/wevtapi/main.c | 6 ++++++ dlls/wevtapi/wevtapi.spec | 2 +- include/winevt.h | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/wevtapi/main.c b/dlls/wevtapi/main.c index e4cf995d3cf..50696ba321c 100644 --- a/dlls/wevtapi/main.c +++ b/dlls/wevtapi/main.c @@ -44,6 +44,12 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return TRUE; } +EVT_HANDLE WINAPI EvtOpenSession(EVT_LOGIN_CLASS login_class, void *login, DWORD timeout, DWORD flags) +{ + FIXME("(%u %p %u %u) stub\n", login_class, login, timeout, flags); + return NULL; +} + BOOL WINAPI EvtGetChannelConfigProperty(EVT_HANDLE ChannelConfig, EVT_CHANNEL_CONFIG_PROPERTY_ID PropertyId, DWORD Flags, diff --git a/dlls/wevtapi/wevtapi.spec b/dlls/wevtapi/wevtapi.spec index fef3ec06f50..070fd09232b 100644 --- a/dlls/wevtapi/wevtapi.spec +++ b/dlls/wevtapi/wevtapi.spec @@ -35,7 +35,7 @@ @ stub EvtOpenLog @ stub EvtOpenPublisherEnum @ stub EvtOpenPublisherMetadata -@ stub EvtOpenSession +@ stdcall EvtOpenSession(long ptr long long) @ stdcall EvtQuery(ptr wstr wstr long) @ stub EvtRender @ stub EvtSaveChannelConfig diff --git a/include/winevt.h b/include/winevt.h index 53ffe440027..6d2ef1a0137 100644 --- a/include/winevt.h +++ b/include/winevt.h @@ -53,6 +53,10 @@ typedef enum _EVT_CHANNEL_CONFIG_PROPERTY_ID { EvtChannelConfigPropertyIdEND } EVT_CHANNEL_CONFIG_PROPERTY_ID; +typedef enum _EVT_LOGIN_CLASS { + EvtRpcLogin = 1 +} EVT_LOGIN_CLASS; + typedef enum _EVT_SUBSCRIBE_NOTIFY_ACTION { EvtSubscribeActionError = 0, EvtSubscribeActionDeliver