Reference

RegisterTraceGuidsW(3w)

NAME

RegisterTraceGuidsW (ADVAPI32.@)

SYNOPSIS

ULONG RegisterTraceGuidsW
(
WMIDPREQUEST RequestAddress,
PVOID RequestContext,
LPCGUID ControlGuid,
ULONG GuidCount,
PTRACE_GUID_REGISTRATION TraceGuidReg,
LPCWSTR MofImagePath,
LPCWSTR MofResourceName,
PTRACEHANDLE RegistrationHandle
)

DESCRIPTION

Register an event trace provider and the event trace classes that it uses to generate events.

PARAMS

RequestAddress [In] ControlCallback function.

RequestContext [In] Optional provider-defined context.

ControlGuid [In] GUID of the registering provider.

GuidCount [In] Number of elements in the TraceGuidReg array.

TraceGuidReg [In/Out] Array of TRACE_GUID_REGISTRATION structures.

MofImagePath [In] not supported, set to NULL.

MofResourceNmae [In] not supported, set to NULL.

RegistrationHandle [Out] Provider's registration handle.

RETURNS

Success: ERROR_SUCCESS

Failure: System error code.

FIXME

Stub.

IMPLEMENTATION

Declared in "evntrace.h".

Implemented in "dlls/advapi32/eventlog.c".

Debug channel "advapi".

History