MgslGetTraceLevel


Prototype  
ULONG MgslGetTraceLevel( HANDLE hDevice,
                         PULONG pTraceLevel );
Parameters  
hDevice
handle to open port
pTraceLevel
pointer to buffer to hold returned trace level
Return Value  
ERROR_SUCCESS (0)
Success
ERROR_INVALID_PARAMETER
pTraceLevel is invalid
ERROR_INVALID_HANDLE
hDevice is invalid

Return the current trace level in the buffer specified by pTraceLevel. The trace level is specified with bit flags defined by the TraceLevel_XXX constants.

See also:Tracing, MgslSetTraceLevel, MgslGetTraceEvent


Previous Contents Next