Commit b5314f50 authored by Alexandre Julliard's avatar Alexandre Julliard

advapi32: Fix the TraceMessage prototypes.

parent ebc4fd14
......@@ -885,18 +885,26 @@ ULONG WINAPI ProcessTrace( PTRACEHANDLE HandleArray, ULONG HandleCount, LPFILETI
return ERROR_CALL_NOT_IMPLEMENTED;
}
ULONG TraceMessage( TRACEHANDLE SessionHandle, ULONG MessageFlags, LPGUID MessageGuid,
USHORT MessageNumber, ...)
/******************************************************************************
* TraceMessage [ADVAPI32.@]
*/
ULONG WINAPIV TraceMessage( TRACEHANDLE handle, ULONG flags, LPGUID guid, USHORT number, ... )
{
FIXME("(%s %d %s %d) : stub\n", wine_dbgstr_longlong(SessionHandle), MessageFlags,
debugstr_guid(MessageGuid), MessageNumber);
return ERROR_SUCCESS;
__ms_va_list valist;
ULONG ret;
__ms_va_start( valist, number );
ret = TraceMessageVa( handle, flags, guid, number, valist );
__ms_va_end( valist );
return ret;
}
ULONG TraceMessageVa( TRACEHANDLE SessionHandle, ULONG MessageFlags, LPGUID MessageGuid,
USHORT MessageNumber, __ms_va_list args)
/******************************************************************************
* TraceMessageVa [ADVAPI32.@]
*/
ULONG WINAPI TraceMessageVa( TRACEHANDLE handle, ULONG flags, LPGUID guid, USHORT number,
__ms_va_list args )
{
FIXME("(%s %d %s %d) : stub\n", wine_dbgstr_longlong(SessionHandle), MessageFlags,
debugstr_guid(MessageGuid), MessageNumber);
FIXME("(%s %x %s %d) : stub\n", wine_dbgstr_longlong(handle), flags, debugstr_guid(guid), number);
return ERROR_SUCCESS;
}
......@@ -222,6 +222,8 @@ ULONG WINAPI StartTraceA(PTRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES);
ULONG WINAPI StartTraceW(PTRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES);
#define StartTrace WINELIB_NAME_AW(StartTrace)
ULONG WINAPI TraceEvent(TRACEHANDLE,PEVENT_TRACE_HEADER);
ULONG WINAPIV TraceMessage(TRACEHANDLE,ULONG,LPGUID,USHORT,...);
ULONG WINAPI TraceMessageVa(TRACEHANDLE,ULONG,LPGUID,USHORT,__ms_va_list);
ULONG WINAPI UnregisterTraceGuids(TRACEHANDLE);
#ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment