If there are no string format specifiers in the format, the IRQL should
not matter. For instance “%d” is fine at any irql, “%s” is only good at
passive.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shahar Talmi
Sent: Tuesday, February 15, 2005 8:51 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] swprintf in W2K
Doron,
Do you mean that the IRQL restriction is present even if no conversion
between char and wide-char is needed (for example if I use
RtlStringCbVPrintfW and %ws)?
Shahar
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Tuesday, February 15, 2005 6:43 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] swprintf in W2K
If you use the lib version of ntstrsafe (see the top of the header
file),
you can use all ntstrsafe functions back to win2k.
If the format specifier string contains strings in it (%s %ws etc), the
IRQL
restriction is still present.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dany Polovets
Sent: Tuesday, February 15, 2005 6:11 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] swprintf in W2K
This function can be used in Win2003 only.
I need the W2K solution.
Regards,
Dany
-----Original Message-----
From: Shahar Talmi [mailto:xxxxx@safend.com]
Sent: Tuesday, February 15, 2005 15:49
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] swprintf in W2K
Use RtlStringCbVPrintfW(). The NTSTRSAFE.H functions can be used at any
IRQL
(assuming your variables can accessed at this IRQL).
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Dany Polovets
Sent: Tuesday, February 15, 2005 2:58 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] swprintf in W2K
Hello,
I am writing the W2K driver and in the disk IO completion routine I have
to
use swprintf() in order to compose the Event log message string, but it
is
impossible because of the Irql.
What can I do in this case.
Regards,
Dany
This mail was sent via storeage.com
************************************************************************
****
********
This footnote confirms that this email message has been scanned by
PineApp
Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
************************************************************************
****
********
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storeage.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
*** IMPORTANT: Do not open attachments from unrecognized senders ***
************************************************************************
******************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system
manager or
the sender immediately and do not disclose the contents to any one or
make
copies.
************************************************************************
******************
************************************************************************
************
This footnote confirms that this email message has been scanned by
PineApp
Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
************************************************************************
************
This mail was sent via storeage.com
************************************************************************
************
This footnote confirms that this email message has been scanned by
PineApp
Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
************************************************************************
************
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com