网站首页  词典首页

请输入您要查询的函数:

 

术语 continuedebugevent
释义 ContinueDebugEvent
语法:
C++
BOOL WINAPI ContinueDebugEvent(
__in DWORD dwProcessId,
__in DWORD dwThreadId,
__in DWORD dwContinueStatus
);
ContinueDebugEvent功能
实现了调试,继续一个线程的报道,调试的事件。
参数
dwProcessId [in]
句柄的进程继续下去。
dwThreadId [in]
句柄到线程继续。的进程标识符和线程标识符的组合必须确定一个以前报告调试事件线程。
dwContinueStatus [in]
的选项,继续报道的线程调试事件。
ValueMeaning
DBG_CONTINUE
0x00010002LIf由dwThreadId参数指定的线程先前报道EXCEPTION_DEBUG_EVENT调试的情况下,停止所有功能异常处理,并继续线程。对于任何其他调试时,这个标志就是继续线程。
DBG_EXCEPTION_NOT_HANDLED
0x80010001LIf由dwThreadId指定的线程先前报道EXCEPTION_DEBUG_EVENT调试的情况下,仍然异常处理功能。如果这是第一次机会异常的情况下,搜索和派遣的逻辑结构化异常处理程序使用,否则,该进程将终止。对于任何其他调试时,这个标志就是继续线程。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
只有创建与CreateProcess函数dwProcessId可以调用ContinueDebugEvent线程。
后ContinueDebugEvent函数成功,指定的线程继续。根据不同的调试事件以前线程报道,不同的行动发生。如果继续线程先前报道EXIT_THREAD_DEBUG_EVENT调试的事件,ContinueDebugEvent关闭调试器处理的线程。如果继续线程先前报道EXIT_PROCESS_DEBUG_EVENT调试的事件,ContinueDebugEvent关闭调试器处理的进程和线程。
实例
有关示例,请参见编写调试器的主循环。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateProcess的
调试事件
调试功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==ContinueDebugEvent Function
Enables a debugger to continue a thread that previously reported a debugging event.
Syntax
C++
BOOL WINAPI ContinueDebugEvent(
__in DWORD dwProcessId,
__in DWORD dwThreadId,
__in DWORD dwContinueStatus
);
Parameters
dwProcessId [in]
A handle to the process to continue.
dwThreadId [in]
A handle to the thread to continue. The combination of process identifier and thread identifier must identify a thread that has previously reported a debugging event.
dwContinueStatus [in]
The options to continue the thread that reported the debugging event.
ValueMeaning
DBG_CONTINUE
0x00010002LIf the thread specified by the dwThreadId parameter previously reported an EXCEPTION_DEBUG_EVENT debugging event, the function stops all exception processing and continues the thread. For any other debugging event, this flag simply continues the thread.
DBG_EXCEPTION_NOT_HANDLED
0x80010001LIf the thread specified by dwThreadId previously reported an EXCEPTION_DEBUG_EVENT debugging event, the function continues exception processing. If this is a first-chance exception event, the search and dispatch logic of the structured exception handler is used; otherwise, the process is terminated. For any other debugging event, this flag simply continues the thread.

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
Only the thread that created dwProcessId with the CreateProcess function can call ContinueDebugEvent.
After the ContinueDebugEvent function succeeds, the specified thread continues. Depending on the debugging event previously reported by the thread, different actions occur. If the continued thread previously reported an EXIT_THREAD_DEBUG_EVENT debugging event, ContinueDebugEvent closes the handle the debugger has to the thread. If the continued thread previously reported an EXIT_PROCESS_DEBUG_EVENT debugging event, ContinueDebugEvent closes the handles the debugger has to the process and to the thread.
Examples
For an example, see Writing the Debugger's Main Loop .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateProcess
Debugging Events
Debugging Functions
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms679285(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 11:27:41