Share via


IJsDebugDataTarget::GetThreadContext Method

Retrieves context for given thread.

Syntax

HRESULT GetThreadContext(  
   DWORD threadId,  
   ULONG32 contextFlags,  
   ULONG32 contextSize,  
   void *pContext  
);  

Parameters

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.

Return Value

Requirements

Header: jscript9diag.h

See also

IJsDebugDataTarget Interface