Debugging Tools for Windows |
The CreateThread callback method is called by the engine when a create-thread debugging event occurs in the target.
HRESULT
IDebugEventCallbacks::CreateThread(
IN ULONG64 Handle,
IN ULONG64 DataOffset,
IN ULONG64 StartOffset
);
HRESULT
IDebugEventCallbacksWide::CreateThread(
IN ULONG64 Handle,
IN ULONG64 DataOffset,
IN ULONG64 StartOffset
);
#ifdef UNICODE
#define IDebugEventCallbacksT IDebugEventCallbacksWide
#else
#define IDebugEventCallbacksT IDebugEventCallbacks
#endif
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.
This method is only called by the engine if the DEBUG_EVENT_CREATE_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.
Headers: Defined in dbgeng.h. Include dbgeng.h.