IDkmProcessExitNotification.OnProcessExit 方法

定义

在事件处理过程中,将调用 OnProcessExit。 有关详细信息,请参阅接口定义。

public:
 void OnProcessExit(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, int exitCode, Microsoft::VisualStudio::Debugger::DkmEventDescriptor ^ eventDescriptor);
public void OnProcessExit (Microsoft.VisualStudio.Debugger.DkmProcess process, int exitCode, Microsoft.VisualStudio.Debugger.DkmEventDescriptor eventDescriptor);
abstract member OnProcessExit : Microsoft.VisualStudio.Debugger.DkmProcess * int * Microsoft.VisualStudio.Debugger.DkmEventDescriptor -> unit
Public Sub OnProcessExit (process As DkmProcess, exitCode As Integer, eventDescriptor As DkmEventDescriptor)

参数

process
DkmProcess

中DkmProcess 表示正在调试的目标进程。 调试器调试进程,因此这是调试的基本单元。 DkmProcess 可以表示系统进程或虚拟进程,如小型转储。

exitCode
Int32

[In] 32-在退出时已处理返回的位值。 此值与 kernel32.dll 中报告的值相同:GetExitCodeProcess.

eventDescriptor
DkmEventDescriptor

中描述正在处理的事件。

适用于