debugger显示内容函数 [VOID OutputDebugString]

来源:互联网 发布:查分软件 编辑:程序博客网 时间:2024/05/01 00:36

OutputDebugString

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

VOID OutputDebugString(  LPCTSTR lpOutputString   // pointer to string to be displayed); 

Parameters

lpOutputString
Pointer to the null-terminated string to be displayed.

Return Values

This function does not return a value.

Remarks

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.

Windows CE: Windows CE supports only the Unicode version of this function.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winbase.h.
  Import Library: Use kernel32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

Debugging Overview, Debugging Functions

 

原创粉丝点击