Microsoft Windows CE 3.0  

CREATE_THREAD_DEBUG_INFO

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This structure contains thread-creation information that can be used by a debugger.

typedef
struct_
CREATE_
THREAD_
DEBUG_
INFO
{
HANDLE
hThread
;
LPVOID
lpThreadLocalBase
;
LPTHREAD_
START_
ROUTINE
lpStartAddress
;
}
CREATE_
THREAD_
DEBUG_
INFO;

Members

hThread
Handle to the thread whose creation caused the debugging event. If this member 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, allowing the debugger to read from and write to the registers of the thread and control execution of the thread.
lpThreadLocalBase
Pointer to a block of data. At offset 0x2C into this block is another pointer, called ThreadLocalStoragePointer, that points to an array of per-module thread local storage blocks. This gives a debugger access to per-thread data in the threads of the process being debugged using the same algorithms that a compiler would use.
lpStartAddress
Pointer to 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 can change the thread's context by using the SetThreadContextfunction.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Winbase.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SetThreadContext, CREATE_PROCESS_DEBUG_INFO, DEBUG_EVENT, LOAD_DLL_DEBUG_INFO