MgslSetTraceLevel


Prototype  
ULONG MgslSetTraceLevel( HANDLE hDevice,
                         ULONG NewTraceLevel );
Parameters  
hDevice
handle to open port
NewTraceLevel
bit flags specifying enabled trace levels:TraceLevel_XXX
Return Value  
ERROR_SUCCESS (0)
Success
ERROR_INVALID_HANDLE
hDevice is invalid

Set the current trace level. A trace level of zero disables tracing. Each trace level enables a class of trace events to be traced. Refer to the trace reference section for a description of the trace levels and trace events.

See also: Tracing, MgslGetTraceLevel


Previous Contents Next