Debugging Tools for Windows

GetNumberPseudoRegisters

The GetNumberPseudoRegisters method returns the number of pseudo-registers that are maintained by the debugger engine.

HRESULT
  IDebugRegisters2::GetNumberPseudoRegisters(
    OUT PULONG  Number
    );

Parameters

Number
Receives the number of pseudo-registers that are maintained by the debugger engine.

Return Value

S_OK
The method was successful.

This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.

Interface Version

GetNumberPseudoRegisters are available in IDebugRegisters2 and later versions.

Comments

Not all of the pseudo-registers are available in all debugging sessions or at all times in a particular session.

The valid indices for pseudo-registers are between zero and the number of pseudo-registers, minus one.

For an overview of the IDebugRegisters interface and other register-related methods, see Registers.

Requirements

Headers: Defined in DbgEng.h. Include DbgEng.h.

Build machine: CAPEBUILD