| Prototype |
|
NTSTATUS DiMgslSetTraceLevel( void *Handle,
ULONG NewTraceLevel );
|
| Parameters |
|
Handle
|
handle to open port |
NewTraceLevel
|
bit flags specifying enabled trace levels: |
| |
TraceLevel_Data
- transmit and receive data contents
TraceLevel_API
- API calls (args and return data)
TraceLevel_Status
- serial signal transitions
TraceLevel_Transmit
- Transmitter events
TraceLevel_Receive
- receiver events
TraceLevel_Raw
- Unformatted binary trace data
TraceLevel_Error
- Events that describe an error condition.
TraceLevel_Info
- Events that provide general information.
TraceLevel_Detail
- Events that provide detailed information.
|
| Return Value |
|
STATUS_SUCCESS
|
Success |
STATUS_INVALID_HANDLE
|
Handle is invalid |
Set the current trace level. A trace level of zero disables tracing.
Each trace level enables a class of trace events. Refer to the trace
reference section for a description of the trace levels and trace
events.