ExitThread
Collapse the table of content
Expand the table of content

IDebugEventCallbacks::ExitThread method

The ExitThread callback method is called by the engine when an exit-threaddebugging event occurs in the target.

Syntax


HRESULT ExitThread(
  [in] ULONG ExitCode
);

Parameters

ExitCode [in]

Specifies the exit code for the thread.

Return value

This method returns a DEBUG_STATUS_XXX value, which indicates how the execution of the target should proceed after the engine processes this event. For details on how the engine treats this value, see Monitoring Events.

Remarks

This method is only called by the engine if the DEBUG_EVENT_EXIT_THREAD flag is set in the mask returned by IDebugEventCallbacks::GetInterestMask.

For more information about handling events, see Monitoring Events. For information about threads, see Threads and Processes.

Requirements

Target platform

Header

Dbgeng.h (include Dbgeng.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft