CREATE_THREAD_DEBUG_INFO (Windows CE 5.0)

Send Feedback

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

typedefstruct _CREATE_THREAD_DEBUG_INFO{HANDLEhThread;LPVOIDlpThreadLocalBase;LPTHREAD_START_ROUTINElpStartAddress;}CREATE_THREAD_DEBUG_INFO;

Members

  • hThread
    Handle to the thread that created 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 might 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 SetThreadContext function.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Winbase.h.

See Also

SetThreadContext | CREATE_PROCESS_DEBUG_INFO | DEBUG_EVENT | LOAD_DLL_DEBUG_INFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.