advapi32: Add stubs for StartTrace[A|W].

This commit is contained in:
Detlef Riekenberg 2009-10-11 17:38:21 +02:00 committed by Alexandre Julliard
parent 4f7fc1b051
commit 6648d26744
2 changed files with 28 additions and 2 deletions

View File

@ -592,8 +592,8 @@
@ stdcall StartServiceCtrlDispatcherA(ptr)
@ stdcall StartServiceCtrlDispatcherW(ptr)
@ stdcall StartServiceW(long long ptr)
# @ stub StartTraceA
# @ stub StartTraceW
@ stdcall StartTraceA(ptr str ptr)
@ stdcall StartTraceW(ptr wstr ptr)
# @ stub StopTraceA
# @ stub StopTraceW
@ stdcall SynchronizeWindows31FilesAndWindowsNTRegistry(long long long long)

View File

@ -518,6 +518,32 @@ ULONG WINAPI RegisterTraceGuidsA( WMIDPREQUEST RequestAddress,
return ERROR_CALL_NOT_IMPLEMENTED;
}
/******************************************************************************
* StartTraceW [ADVAPI32.@]
*
* Register and start an event trace session
*
*/
ULONG WINAPI StartTraceW( PTRACEHANDLE pSessionHandle, LPCWSTR SessionName, PEVENT_TRACE_PROPERTIES Properties )
{
FIXME("(%p, %s, %p) stub\n", pSessionHandle, debugstr_w(SessionName), Properties);
if (pSessionHandle) *pSessionHandle = 0xcafe4242;
return ERROR_SUCCESS;
}
/******************************************************************************
* StartTraceA [ADVAPI32.@]
*
* See StartTraceW.
*
*/
ULONG WINAPI StartTraceA( PTRACEHANDLE pSessionHandle, LPCSTR SessionName, PEVENT_TRACE_PROPERTIES Properties )
{
FIXME("(%p, %s, %p) stub\n", pSessionHandle, debugstr_a(SessionName), Properties);
if (pSessionHandle) *pSessionHandle = 0xcafe4242;
return ERROR_SUCCESS;
}
/******************************************************************************
* TraceEvent [ADVAPI32.@]
*/