网站首页  词典首页

请输入您要查询的函数:

 

术语 outputdebugstring
释义 OutputDebugString
语法:
C++
void WINAPI OutputDebugString(
__in_opt LPCTSTR lpOutputString
);
OutputDebugString的功能
发送一个字符串用于显示调试器。
参数
lpOutputString [中,可选]
空结尾的字符串显示。
返回值
这个函数没有返回值。
备注
如果应用程序没有调试,系统调试器显示字符串,如果过滤器掩模允许的话。 (请注意,此函数调用DbgPrint函数来显示字符串。有关如何过滤面具控制系统调试什么显示,请参阅Windows驱动程序的DbgPrint函数在MSDN工具包的细节。)如果应用程序没有调试器和系统调试不活跃,OutputDebugString的什么都不做。
在此之前的Windows Vista:系统调试器无法过滤的内容。
OutputDebugStringW指定的字符串转换,对现行制度为基础的区域设置信息并将其传递给OutputDebugStringA显示。因此,一些Unicode字符可能无法正确显示。
应用程序应该发出很小调试输出,并为用户启用或禁用它的使用方法。为了提供更详细的跟踪,看到事件跟踪。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesOutputDebugStringW(Unicode)和OutputDebugStringA(ANSI)的
参见
沟通与调试
调试功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==OutputDebugString Function
Sends a string to the debugger for display.
Syntax
C++
void WINAPI OutputDebugString(
__in_opt LPCTSTR lpOutputString
);
Parameters
lpOutputString [in, optional]
The null-terminated string to be displayed.
Return Value
This function does not return a value.
Remarks
If the application has no debugger, the system debugger displays the string if the filter mask allows it. (Note that this function calls the DbgPrint function to display the string. For details on how the filter mask controls what the system debugger displays, see the DbgPrint function in the Windows Driver Kit on MSDN.) If the application has no debugger and the system debugger is not active, OutputDebugString does nothing.
Prior to Windows Vista: The system debugger does not filter content.
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 clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode and ANSI namesOutputDebugStringW (Unicode) and OutputDebugStringA (ANSI)
See Also
Communicating with the Debugger
Debugging Functions
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa363362(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:18:02