IDebugRegisters2::SetPseudoValues method (dbgeng.h)
The SetPseudoValues method sets the value of several pseudo-registers.
Syntax
HRESULT SetPseudoValues(
[in] ULONG Source,
[in] ULONG Count,
[in, optional] PULONG Indices,
[in] ULONG Start,
[in] PDEBUG_VALUE Values
);
Parameters
[in] Source
Specifies the register source to query.
The possible values are listed in the following table.
Value | Register source |
---|---|
DEBUG_REGSRC_DEBUGGEE | Fetch register information from the target. |
DEBUG_REGSRC_EXPLICIT | Fetch register information from the current explicit register context. |
DEBUG_REGSRC_FRAME |
Fetch register information from the current scope's register context.
Note Stack unwinding does not guarantee accurate updating of the register context, so the scope frame's register context might not be accurate in all cases.
|
[in] Count
Specifies the number of pseudo-registers whose values are being set.
[in, optional] Indices
Specifies an array of indices of pseudo-registers. These are the pseudo-registers whose values will be set. The size of Indices is Count. If Indices is NULL, Start is used to specify the indices instead.
[in] Start
Specifies the index of the first pseudo-register whose value will be set. The pseudo-registers with indices between Start and Start plus Count minus one, will be set. Start is only used if Indices is NULL.
[in] Values
Specifies the new values of the pseudo-registers. The number of elements this array holds is Count. See DEBUG_VALUE for a description of this parameter type.
Return value
This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.
Return code | Description |
---|---|
|
The method was successful. |
Remarks
For an overview of the IDebugRegisters interface and other register-related methods, see Registers.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include DbgEng.h) |