advapi32: Return fake handles from RegisterTraceGuidsW.

This commit is contained in:
Hans Leidekker 2015-04-24 14:48:49 +02:00 committed by Alexandre Julliard
parent da7f6c8b64
commit 191b1bfbba
1 changed files with 11 additions and 0 deletions

View File

@ -772,6 +772,17 @@ ULONG WINAPI RegisterTraceGuidsW( WMIDPREQUEST RequestAddress,
FIXME("(%p, %p, %s, %u, %p, %s, %s, %p): stub\n", RequestAddress, RequestContext,
debugstr_guid(ControlGuid), GuidCount, TraceGuidReg, debugstr_w(MofImagePath),
debugstr_w(MofResourceName), RegistrationHandle);
if (TraceGuidReg)
{
ULONG i;
for (i = 0; i < GuidCount; i++)
{
FIXME(" register trace class %s\n", debugstr_guid(TraceGuidReg[i].Guid));
TraceGuidReg[i].RegHandle = (HANDLE)0xdeadbeef;
}
}
*RegistrationHandle = (TRACEHANDLE)0xdeadbeef;
return ERROR_SUCCESS;
}