网站首页  计算机词典

请输入您要查询的字词:

 

字词 debugsetprocesskillonexit
释义 DebugSetProcessKillOnExit
语法:
C++
BOOL WINAPI DebugSetProcessKillOnExit(
__in BOOL KillOnExit
);
DebugSetProcessKillOnExit功能
设置要执行的操作时,调用线程退出。
参数
KillOnExit [in]
如果此参数为TRUE,线程终止所有附加在退出过程(注意,这是默认值)。否则,线程分离的所有进程正就退出调试。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
调用线程必须建立至少一个调试,然后再调用这个函数连接使用CreateProcess或DebugActiveProcess功能。 DebugSetProcessKillOnExit,影响所有当前和未来的连接到调用线程debuggees。一个线程可以调用这个函数多次改变所需的行动。
要求:
最低支持client-Windows XP
最低支持serverWindows服务器2003
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
调试功能
DebugActiveProcessStop
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==DebugSetProcessKillOnExit Function
Sets the action to be performed when the calling thread exits.
Syntax
C++
BOOL WINAPI DebugSetProcessKillOnExit(
__in BOOL KillOnExit
);
Parameters
KillOnExit [in]
If this parameter is TRUE, the thread terminates all attached processes on exit (note that this is the default). Otherwise, the thread detaches from all processes being debugged on exit.
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 calling thread must have established at least one debugging connection using the CreateProcess or DebugActiveProcess function before calling this function. DebugSetProcessKillOnExit affects all current and future debuggees connected to the calling thread. A thread can call this function multiple times to change the action as needed.
Requirements
Minimum supported clientWindows XP
Minimum supported serverWindows Server 2003
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
Debugging Functions
DebugActiveProcessStop
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms679307(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:40:44