[NOOB][FORMAT A STRING] ntstrafe.h?

hello,
here i am again with a new noob problem.
First of all with your help i was able to succed writing a simple GPIO driver and a filter driver.

So it’s stupid but i’m facing a problem while i’m trying to format a string into my driver.

So, what i want to do is the same thing of sprintf…
Reading the forum, i saw i should use
RtlStringCchPrintfw…
Ok … after some research, i finally admit RtlStringCchPrintfw is not as easy to use (out of the box) as sprintf but perfectly meets my needs.

But now,
#include “ntstrafe.h” return no such file or directory @ compilation time.

Browsing the DDK confirm there’s no ntstrafe.h.

So, now, i realy don’t know how to format a string in kernel land.
And of course i need it.

I feel stupid , but if somebody wants to help me one more time, it should be great.

You’ve made a typo. ntstrsafe, not “ntstrafe”.
Never mind, it happens.

–PA

ooops, now i feel realy stupid.