OutputDebugString

OutputDebugString displays the debugger string of an application

Syntax

void OutputDebugString(
    LPCTSTR lpOutputString,
   );

Parameters

lpOutputString

The null-terminated string to be displayed.

Return Value

None.

Remarks

If the application has a debugger, the debugger displays the string. If the application has no debugger, OutputDebugString does nothing.

OutputDebugStringW converts the specified string based on the current system locale information and passes it to OutputDebugStringA to be displayed. As a result, some Unicode characters may not be displayed correctly.

Applications should send very minimal debug output and provide a way for the user to enable or disable its use. To provide more detailed tracing, see Event Tracing.

Requirements

Minimum Supported Version RTX64 2013
Header windows.h
Library Rtx_Rtss.lib