I need to use a formatting function in a context which potentially can be in paging path. RtlStringPrintf* functions seem to cause paging sometimes by allocating from a paged pool (why use a paged pool for ethemeral buffer???), even though their code seems to be in nonpaged section. swprintf function use is actively discouraged by MS, and swprintf_s functions are missing from Win2003.
By the way, in Win7 WDK, the import library for Win2003 build environment has those "_s" functions, even though the're not exported. This causes a driver load failure.