diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec index fde7f06238e..058760df3db 100644 --- a/dlls/advapi32/advapi32.spec +++ b/dlls/advapi32/advapi32.spec @@ -65,8 +65,8 @@ @ stdcall CommandLineFromMsiDescriptor(wstr ptr ptr) # @ stub ComputeAccessTokenFromCodeAuthzLevel @ stdcall ControlService(long long ptr) -# @ stub ControlTraceA -# @ stub ControlTraceW +@ stdcall ControlTraceA(double str ptr long) +@ stdcall ControlTraceW(double wstr ptr long) # @ stub ConvertAccessToSecurityDescriptorA # @ stub ConvertAccessToSecurityDescriptorW # @ stub ConvertSDToStringSDRootDomainA diff --git a/dlls/advapi32/eventlog.c b/dlls/advapi32/eventlog.c index f84e15f6881..118bd11ab37 100644 --- a/dlls/advapi32/eventlog.c +++ b/dlls/advapi32/eventlog.c @@ -115,6 +115,30 @@ BOOL WINAPI CloseEventLog( HANDLE hEventLog ) return TRUE; } +/****************************************************************************** + * ControlTraceW [ADVAPI32.@] + * + * Control a givel event trace session + * + */ +ULONG WINAPI ControlTraceW( TRACEHANDLE hSession, LPCWSTR SessionName, PEVENT_TRACE_PROPERTIES Properties, ULONG control ) +{ + FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(hSession), debugstr_w(SessionName), Properties, control); + return ERROR_SUCCESS; +} + +/****************************************************************************** + * ControlTraceA [ADVAPI32.@] + * + * See ControlTraceW. + * + */ +ULONG WINAPI ControlTraceA( TRACEHANDLE hSession, LPCSTR SessionName, PEVENT_TRACE_PROPERTIES Properties, ULONG control ) +{ + FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(hSession), debugstr_a(SessionName), Properties, control); + return ERROR_SUCCESS; +} + /****************************************************************************** * DeregisterEventSource [ADVAPI32.@] *