术语 | checkremotedebuggerpresent |
释义 | CheckRemoteDebuggerPresent 语法: C++ BOOL WINAPI CheckRemoteDebuggerPresent( __in HANDLE hProcess, __inout PBOOL pbDebuggerPresent ); CheckRemoteDebuggerPresent功能 确定指定的进程正在调试。 参数 hProcess [in] 句柄的进程。 pbDebuggerPresent [ in , out ] 对变量的指针,函数设置为TRUE,如果指定的进程正在调试,否则返回false。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 备注 在“在CheckRemoteDebuggerPresent远程”并不意味着一定的调试不同的计算机上驻留,相反,它表明,在一个单独的调试和并行程序驻留。使用IsDebuggerPresent函数来检测是否调用进程是在调试器下运行。 要编译的应用程序使用此函数,定义为0x0501或更高_WIN32_WINNT宏。有关详细信息,请参阅使用Windows头。 要求: 最低支持clientWindows SP1的Vista中,Windows XP的 最低支持serverWindows服务器2003 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 调试功能 IsDebuggerPresent 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月30日 ==英文原文==CheckRemoteDebuggerPresent Function Determines whether the specified process is being debugged. Syntax C++ BOOL WINAPI CheckRemoteDebuggerPresent( __in HANDLE hProcess, __inout PBOOL pbDebuggerPresent ); Parameters hProcess [in] A handle to the process. pbDebuggerPresent [in, out] A pointer to a variable that the function sets to TRUE if the specified process is being debugged, or FALSE otherwise. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Remarks The "remote" in CheckRemoteDebuggerPresent does not imply that the debugger necessarily resides on a different computer; instead, it indicates that the debugger resides in a separate and parallel process. Use the IsDebuggerPresent function to detect whether the calling process is running under the debugger. To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0501 or later. For more information, see Using the Windows Headers . Requirements Minimum supported clientWindows Vista, Windows XP with SP1 Minimum supported serverWindows Server 2003 HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also Debugging Functions IsDebuggerPresent Send comments about this topic to Microsoft Build date: 7/30/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms679280(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。