Debug Command 3 - Read Register Set Command
Parameters
Pid
If Tid is zero and the debuggee is stopped, the register set comes from the active debuggee thread. If Tid is zero and the debuggee is executing, ERROR_INVALID_THREADID is returned.
Returns
The register set in the DosDebug Buffer structure is updated, including the selector information as follows:
Tid