Share via


Trace Message

Note  This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.

A DTM Logger trace message is an XML-formatted string of Unicode characters. This string is strictly limited to 4096 characters (8 KB). Strings longer than 4096 characters will be truncated.

If your message string includes XML escaped characters (such as "&", "<", or ">"), limit your string to approximately 3900 characters.

You can also print messages directly to the log file by using the wprintf function. However, your message will still be limited to 4096 characters.

See Also

Performing a Trace, Trace Level, Trace Priority

 

 

Build date: 9/14/2012