Sample Code
Windows Driver Samples/ NONPNP/ C++/ sys/ localwpp.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) // )
Our Services
-
What our customers say about us?
Read our customer testimonials to find out why our clients keep returning for their projects.
View Testimonials