_VWIN32_Get_Thread_Context

Copies the registers for the specified thread to the pcontext buffer. Uses C calling conventions.

ptcb

Ring 0 thread handle. Indicates the thread to get the context for.

pcontext

Address of a CONTEXT structure that receives the appropriate context of the specified thread. The value of the ContextFlags member of this structure specifies which portions of a thread's context are retrieved.

This function does not validate the context record address.