#ifndef _NTDBG_H
NTSYSAPI
ULONG
STDAPIVCALLTYPE
DbgPrint(
_In_z_ _Printf_format_string_ PCCH Format,
...
);
View code on GitHub
This function is documented in Windows Driver Kit.
Function works like a normal C printf
routine, but result is streamed to debug output.