IPortClsEtwHelper::MiniportWriteEtwEvent method

The MiniportWriteEtwEvent method is used by an audio miniport driver for providing the information about an Event Tracing for Windows (ETW) event.

Syntax

NTSTATUS MiniportWriteEtwEvent(
  EPcMiniportEngineEvent miniportEventType,
  ULONGLONG              pvData1,
  ULONGLONG              pvData2,
  ULONGLONG              ulData3,
  ULONGLONG              ulData4
);

Parameters

miniportEventType

An EPcMiniportEngineEvent enumerated value that provides additional error information for reporting glitching errors.

pvData1

Data parameter.

pvData2

Data parameter.

ulData3

Data parameter.

ulData4

Data parameter.

Return value

MiniportWriteEtwEvent returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error code.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

EPcMiniportEngineEvent

IPortClsEtwHelper