CREATE_THREAD_DEBUG_INFO

typedef struct _CREATE_THREAD_DEBUG_INFO { /* ctdi */

HANDLE hThread;

LPTHREAD_START_ROUTINE lpStartAddress;

} CREATE_THREAD_DEBUG_INFO, *LPCREATE_THREAD_DEBUG_INFO;

The CREATE_THREAD_DEBUG_INFO structure contains thread creation information that could be used by a debugger.

Members

hThread

Identifies a handle to the thread whose creation caused the debug event. If hThread is NULL, the handle is not valid. Otherwise, the debugger has THREAD_GET_CONTEXT, THREAD_SET_CONTEXT, and THREAD_SUSPEND_RESUME access to the thread. This allows the debugger to read and write the registers of the thread and control execution of the thread.

lpStartAddress

Specifies the starting address of the thread. This value may only be an approximation of the thread's starting address, because any application with appropriate access to the thread could change the thread's context by using the SetThreadContext function.

See Also

CREATE_PROCESS_DEBUG_INFO, DEBUG_EVENT