include vmm.inc
RestoreReg <reg1, reg2, reg3, ...>
Pops values off the stack.
RestoreReg pops the values off the stack in the order specified. Note that if this is to match a corresponding SaveReg, the values need to be specified in reverse order in the RestoreReg, compared to the SaveReg. The arguments are typically the names of registers, but can be anything that can validly follow the 'pop' opcode. The special name 'fd' pops flags via the 'popfd' instruction and the special name 'ad' pops all registers via the 'popad' instruction.
Using the RestoreReg macro instead of coding the corresponding instructions manually is required if the procedure is using an ESP-based stack frame.
See the description of the ArgVar macro for additional information.
Debug_Test_Valid_Handle