OutputDebugString

OutputDebugString displays the debugger string of an application

Syntax

Copy
void OutputDebugString(
    [in, optional]    LPCTSTR lpOutputString,
   );

Parameters

[in, optional] lpOutputString

The null-terminated string to be displayed.

Return Value

None.

Remarks

If the application has a debugger, it displays the string. If it does not, 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 minimal debug output and provide a way for the user to enable or disable its use. For more detailed tracing, see Event Tracing.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

windows.h

wRTOS_rtss.lib