Debugging Tools for Windows

GetNotifyEventHandle

The GetNotifyEventHandle method receives the handle of the event that will be signaled after the next exception in a target.

HRESULT
  IDebugControl::GetNotifyEventHandle(
    OUT PULONG64  Handle
    );

Parameters

Handle
Receives the handle of the event that will be signaled. If Handle is NULL, no event will be signaled.

Return Value

S_OK
The method was successful.

This method may also return error values. See Return Values for more details.

Interface Version

GetNotifyEventHandle is available in all versions of IDebugControl.

Comments

If an event to be signaled was set and an exception occurs in a target, when the engine resumes execution in the target again, the event will be signaled.

The event will only be signaled once. After it has been signaled, this method will return NULL to Handle, unless SetNotifyEventHandle is called to set another event to signal.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

SetNotifyEventHandle

Build machine: CAPEBUILD