Alex Henrie : wevtapi: Add EvtOpenSession stub.

Alexandre Julliard julliard at winehq.org
Tue Nov 28 15:11:05 CST 2017


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

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Tue Nov 28 09:58:49 2017 -0700

wevtapi: Add EvtOpenSession stub.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 e4cf995..50696ba 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 fef3ec0..070fd09 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 53ffe44..6d2ef1a 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




More information about the wine-cvs mailing list