IDebugClient2::ExitDispatch method

The ExitDispatch method causes the DispatchCallbacks method to return.

Syntax

HRESULT ExitDispatch(
  PDEBUG_CLIENT Client
);

Parameters

Client

Specifies the client whose DispatchCallbacks method should return.

Return Value

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

Return code Description
S_OK
The method was successful.

Remarks

This method is reentrant and may be called from any thread.

This method can be used to interrupt a thread waiting in DispatchCallbacks.

For more information about callbacks, see Callbacks.

Requirements

   
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See Also

DispatchCallbacks

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5