void OutputDebugString(lpszOutputString) | |||||
LPCSTR lpszOutputString; | /* address of string to display | */ |
The OutputDebugString function displays the specified character string on the debugging terminal if a debugger is running.
lpszOutputString
Points to a null-terminated string to be displayed.
This function does not return a value.
This function preserves all registers.
The following example uses the OutputDebugString function to display information on the debugging terminal:
OutputDebugString("\n\rcalling ValidateCodeSegments");
ValidateCodeSegments();
OutputDebugString("\n\rdone");