This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for

This function prints a string to the debug output stream. The function is called by the DEBUGMSG, RETAILMSG, and ERRORMSGmacros when the macro requires output support.


void WINAPIV NKDbgPrintfW(
  LPCWSTR lpszFmt,...



Uses wprintf, a printf-style format string that accepts Unicode characters.


NKDbgPrintfW supports a variable number of arguments.

WARNING: The message output must be smaller than 256 bytes, or 128 Unicode characters.


Header dbgapi.h
Library None
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also