From 4f3607f7547d8b803adfceca41afcb11b30116ec Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 1 Jun 2016 09:00:07 +0200 Subject: [PATCH] ntdll: Add WinSqmEndSession/WinSqmStartSession stubs. Signed-off-by: Austin English Signed-off-by: Sebastian Lackner Signed-off-by: Alexandre Julliard --- dlls/ntdll/misc.c | 22 +++++++++++++++++++++- dlls/ntdll/ntdll.spec | 2 ++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/misc.c b/dlls/ntdll/misc.c index 0f6c5dfb93b..f540c4ba2d8 100644 --- a/dlls/ntdll/misc.c +++ b/dlls/ntdll/misc.c @@ -27,6 +27,8 @@ #include #endif +#include "ntstatus.h" +#define WIN32_NO_STATUS #include "wine/library.h" #include "wine/debug.h" #include "ntdll_misc.h" @@ -329,15 +331,33 @@ void * __cdecl _lfind( const void *key, const void *base, unsigned int *nmemb, return NULL; } +/****************************************************************************** + * WinSqmEndSession (NTDLL.@) + */ +NTSTATUS WINAPI WinSqmEndSession(HANDLE session) +{ + FIXME("(%p): stub\n", session); + return STATUS_NOT_IMPLEMENTED; +} + /********************************************************************* * WinSqmIsOptedIn (NTDLL.@) */ BOOL WINAPI WinSqmIsOptedIn(void) { - FIXME("() stub\n"); + FIXME("(): stub\n"); return FALSE; } +/****************************************************************************** + * WinSqmStartSession (NTDLL.@) + */ +HANDLE WINAPI WinSqmStartSession(GUID *sessionguid, DWORD sessionid, DWORD unknown1) +{ + FIXME("(%p, 0x%x, 0x%x): stub\n", sessionguid, sessionid, unknown1); + return INVALID_HANDLE_VALUE; +} + /****************************************************************************** * EtwRegisterTraceGuidsW (NTDLL.@) * diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index a7256c452ef..4737b0630fc 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -1011,7 +1011,9 @@ @ stdcall TpWaitForWait(ptr long) @ stdcall TpWaitForWork(ptr long) @ stdcall -ret64 VerSetConditionMask(int64 long long) +@ stdcall WinSqmEndSession(long) @ stdcall WinSqmIsOptedIn() +@ stdcall WinSqmStartSession(ptr long long) @ stdcall ZwAcceptConnectPort(ptr long ptr long long ptr) NtAcceptConnectPort @ stdcall ZwAccessCheck(ptr long long ptr ptr ptr ptr ptr) NtAccessCheck @ stdcall ZwAccessCheckAndAuditAlarm(ptr long ptr ptr ptr long ptr long ptr ptr ptr) NtAccessCheckAndAuditAlarm