OutputDebugString

This function sends a string to the debugger for the current application.

At a Glance

Header file: Winbase.h
Windows CE versions: 1.0 and later

Syntax

void OutputDebugString(LPCTSTR lpszOutputString);

Parameters

lpOutputString

Pointer to the null-terminated string to be displayed.

Return Values

None.

Remarks

Windows CE supports only the Unicode version of this function.

If the application has no debugger, the system debugger displays the string. If the application has no debugger and the system debugger is not active, OutputDebugString does nothing.