IDebugEventContextCallbacks::CreateThread method (dbgeng.h)

The CreateThread callback method is called by the engine when a create-threaddebugging event occurs in the target.

Any of these values can be zero if they cannot be provided by the engine. Currently the kernel does not return thread or process change events.

Refer to IDebugEventCallbacks::CreateThread for parameter description and additional information.

Syntax

HRESULT CreateThread(
       ULONG64 Handle,
       ULONG64 DataOffset,
       ULONG64 StartOffset,
  [in] PVOID   Context,
  [in] ULONG   ContextSize
);

Parameters

Handle

DataOffset

StartOffset

[in] Context

Specifies the DEBUG_EVENT_CONTEXT structure as the “context” parameter of each event callback. The context structure contains additional information about the debug event that occurred.

[in] ContextSize

Specifies the size of the buffer Context.

Requirements

Requirement Value
Header dbgeng.h (include dbgeng.h)

See also

IDebugEventContextCallbacks (dbgeng.h)