Retrieves context for given thread.
HRESULT GetThreadContext( DWORD threadId, ULONG32 contextFlags, ULONG32 contextSize, void *pContext );
- threadId
[in] Thread running in the target process.
- contextFlags
[in] Specifies context flags. This is same as the ContextFlags field of CONTEXT (for more information, see winnt.h, search for CONTEXT_ALL).
- contextSize
[in] The size of the buffer specified by pContext.
- pContext
[out] Receives platform-specific CONTEXT structure into the buffer specified by pContext.
Requirements
Header: jscript9diag.h