DbgPrint/WPP?????

All,

I start wondering if WPP is really worth the effort.

In DbgPrint we can specify precision to specify how long the value could
be. I used this always to print a UNICODE_STRING as follows.

DbgPrint(“String = %.*S\n”, UnicodeStr->Length, UnicodeStr->Buffer)

WPP complaints for this saying Type . not found. Any work around for
this?

-Srin.

typo it should have been DbgPrint(“String = %.*S\n”, UnicodeStr->Length/sizeof(WCHAR), UnicodeStr->Buffer)

But still has anyone used something similar with WPP? Any workarounds?

-Srin.

-----Original Message-----
From: Kumar, Srin
Sent: Wednesday, August 06, 2003 4:51 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] DbgPrint/WPP???

All,

I start wondering if WPP is really worth the effort.

In DbgPrint we can specify precision to specify how long the value could be. I used this always to print a UNICODE_STRING as follows.

DbgPrint(“String = %.*S\n”, UnicodeStr->Length, UnicodeStr->Buffer)

WPP complaints for this saying Type . not found. Any work around for this?

-Srin.


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@nai.com
To unsubscribe send a blank email to xxxxx@lists.osr.com