OutputDebugString

  VOID OutputDebugString(lpszOutputString)    
  LPCTSTR lpszOutputString; /* string to be displayed */

The OutputDebugString sends a string to the debugger for the current application.

Parameters

lpszOutputString

Points to the null-terminated string to be displayed.

Return Value

This function does not return a value.

Comments

If the application has no debugger, the system debugger will display the string. If the application has no debugger and the system debugger is not active, this function does nothing.

The OutputDebugString function may be used as either a wide-character function (where text arguments must use Unicode) or an ANSI function (where text arguments must use characters from the Windows 3.x character set installed).