IDebugEventContextCallbacks::CreateProcess method (dbgeng.h)

The CreateProcess callback method is called by the engine when a create-process debugging event occurs in the target.

Any of these values can be zero if they cannot be provided by the engine.

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

Syntax

HRESULT CreateProcess(
       ULONG64 ImageFileHandle,
       ULONG64 Handle,
       ULONG64 BaseOffset,
       ULONG   ModuleSize,
       PCWSTR  ModuleName,
       PCWSTR  ImageName,
       ULONG   CheckSum,
       ULONG   TimeDateStamp,
       ULONG64 InitialThreadHandle,
       ULONG64 ThreadDataOffset,
       ULONG64 StartOffset,
  [in] PVOID   Context,
  [in] ULONG   ContextSize
);

Parameters

ImageFileHandle

Handle

BaseOffset

ModuleSize

ModuleName

ImageName

CheckSum

TimeDateStamp

InitialThreadHandle

ThreadDataOffset

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

See also

IDebugEventContextCallbacks (dbgeng.h)