[This is preliminary documentation and subject to change.]
The TraceDumpEx function outputs a hexadecimal dump of size dwByteCount. TraceDumpEx differentiates itself from TraceDump in its extended (Ex) output options, implemented through the use of non-zero dwFlags values. Output from TraceDumpEx can include information with a prefix of the name associated with the calling service or application's dwTraceID, the associated Thread identifier used with the RRAS tracing functionality, the current system time, and a brief description of the dump.
DWORD TraceDumpEx(
IN DWORD dwTraceID,
IN DWORD dwFlags OPTIONAL,
IN LPBYTE lpbBytes,
IN DWORD dwByteCount,
IN DWORD dwGroupSize,
IN BOOL bAddressPrefix,
IN LPCTSTR lpszPrefix
);
Successful execution of TraceDump returns the number of characters output.
Otherwise, TraceDump returns zero. Call GetLastError to get the error code.
TraceDumpEx generates debug style dumps, with the byte-ordering dependent on the processor's endian setting. Also note that the last line of the dump is padded with zeroes.
Windows NT: Use version 5.0 and later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in rtutils.h.
Import Library: Link with rtutils.lib.
TraceDump, TraceRegisterEx, TraceDeregisterEx, TracePrintfEx, TraceVprintfEx, TracePutsEx, GetLastError