VMPCD_Get_CR0_State


mov edi, ThreadHandle
VxDcall VMPCD_Get_CR0_State
mov [CR0_Flags], eax

Retrieves the current state of the EM (emulate), MP (math present), and TS (task switched) coprocessor flags for the given thread. The flags are retrieved from the CR0 register. Uses EDI, EAX, and Flags.

ThreadHandle

Handle of the thread.