how to format an UNICODE_STRING

I had tryed
_vsnwprintf,but
error C4013: ‘_vsnwprintf’ undefined; assuming extern returning int

I use IFS kit3790 build chk w2k

Use the ddk safe string and/or Rtl*() string related stuff. They are based
on counted string. You are using usr land zero terminated wide string. It’s
been recently posted here not to use these string function as much as
possible.

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of cnmmd
Sent: Thursday, July 08, 2004 8:18 PM
To: Windows File Systems Devs Interest List
Subject: [Norton AntiSpam] [ntfsd] how to format an UNICODE_STRING

I had tryed
_vsnwprintf,but
error C4013: ‘_vsnwprintf’ undefined; assuming extern returning int

I use IFS kit3790 build chk w2k


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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

Hi

To print a unicode string variable, following is what I use in a 'DbgPrint' statement


UNICODE_STRING UnicodeVar.

RtlInitializeUnicodeString(&UnicodeVar, L"Test String");

DbgPrint("%wZ", &UnicodeVar);

Hope this helps

Regards,

Manish

cnmmd wrote:
I had tryed
_vsnwprintf,but
error C4013: '_vsnwprintf' undefined; assuming extern returning int

I use IFS kit3790 build chk w2k

---
Questions? First check the IFS FAQ at The NT Insider:Windows NT Virtual Memory (Part I)

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

---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.