|Debugging Tools for Windows|
The GetValues method gets the value of several of the target's registers.
IN ULONG Count,
IN OPTIONAL PULONG Indices,
IN ULONG Start,
OUT PDEBUG_VALUE Values
This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.
GetValues is available in all versions of IDebugRegisters.
GetValues gets the value of several of the target's registers.
If the return value is not S_OK, some of the registers still might have been read. If the target was not accessible, the return type is E_UNEXPECTED and Values is unchanged; otherwise, Values will contain partial results and the registers that could not be read will have type DEBUG_VALUE_INVALID. Ambiguity in the case of the return value E_UNEXPECTED can be avoided by setting the memory of Values to zero before calling this method.
To receive the value of only a single register, use the GetValue method instead.
The method GetValues2 performs the same task as this method but also allows the register source to be specified.
For an overview of the IDebugRegisters interface and other register-related methods, see Registers.
Headers: Defined in DbgEng.h. Include DbgEng.h.