Jump to content

DBG_C_ReadReg

From EDM2

Debug Command 3 - Read Register Set Command

Parameters
  • Pid= Process ID of debuggee
  • Tid= Thread ID of register set to read
  • Cmd= DBG_C_ReadReg

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= Thread ID corresponding to the register set
  • MTE= Program module's MTE (Module Table Entry) handle