mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
83b85e2124
The source code is licensed under MS-PL license, taken from Windows Driver Samples repository (microsoft/Windows-driver-samples@master/storage/class/cdrom/) Synched with commit 96eb96dfb613e4c745db6bd1f53a92fe7e2290fc The driver is written for Windows 10 and uses KMDF so we compile it with ntoskrnl_vista and wdf01000 statically linked (for wdf01000 this will likely be changed in future) CORE-17129
17 lines
902 B
INI
17 lines
902 B
INI
|
|
// this defines how to log a len/buffer pair.
|
|
// This function should be in trace.h
|
|
DEFINE_CPLX_TYPE(HEXDUMP, WPP_LOGHEXDUMP, xstr_t, ItemHEXDump,"s", _HEX_, 0,2);
|
|
|
|
// DEFINE_CPLX_TYPE(
|
|
// name, // i.e. HEXDUMP // %!HEXDUMP!
|
|
// macro, // i.e. WPP_LOGHEXDUMP // Marshalling macro, defined in trace.h
|
|
// structure, // i.e. xstr_t // Argument type (structure to be created by above macro)
|
|
// item type, // i.e. ItemHEXDump // MOF type that TracePrt can understand
|
|
// format specifier, // i.e. "s" // a format specifier that TracePrt can understand
|
|
// ???? // i.e. _HEX_ // Type signature (becomes a part of function name)
|
|
// ???? // i.e. 0 // Weight (0 is variable data length)
|
|
// ???? // i.e. 2 // Slots used by this entry (optional, 1 default)
|
|
// )
|
|
|
|
|