IDebugRegisters2::GetPseudoIndexByName method (dbgeng.h)

The GetPseudoIndexByName method returns the index of a pseudo-register.

Syntax

HRESULT GetPseudoIndexByName(
  [in]  PCSTR  Name,
  [out] PULONG Index
);

Parameters

[in] Name

Specifies the name of the pseudo-register whose index is requested. The name includes the leading dollar sign ( $ ), for example, "$frame".

[out] Index

Receives the index of the pseudo-register.

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
S_OK
The method was successful.

Remarks

For the names of all the pseudo-registers, see Pseudo-Register Syntax.

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)

See also

GetPseudoDescription

IDebugRegisters2