Debugging Tools for Windows

SetNotifyEventHandle

The SetNotifyEventHandle method sets the event that will be signaled after the next exception in a target.

HRESULT
  IDebugControl::SetNotifyEventHandle(
    IN ULONG64  Handle
    );

Parameters

Handle
Specifies the handle of the event to signal. 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

SetNotifyEventHandle is available in all versions of IDebugControl.

Comments

After setting the event to signal, and after the next exception occurs in a target, when the engine resumes execution in the target, the event will be signaled.

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

Requirements

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

See Also

SetNotifyEventHandle

Build machine: CAPEBUILD