| Debugging Tools for Windows | 
The GetPseudoIndexByName and GetPseudoIndexByNameWide methods return the index of a pseudo-register.
HRESULT
  IDebugRegisters2::GetPseudoIndexByName(
    IN PCSTR  Name,
    OUT PULONG  Index
    );
HRESULT
  IDebugRegisters2::GetPseudoIndexByNameWide(
    IN PCWSTR  Name,
    OUT PULONG  Index
    );
#ifdef UNICODE
#define GetPseudoIndexByNameT GetPseudoIndexByNameWide
#else
#define GetPseudoIndexByNameT GetPseudoIndexByName
#endif
This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.
GetPseudoIndexByName and GetPseudoIndexByNameWide are available in IDebugRegisters2 and later versions.
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.
Headers: Defined in DbgEng.h. Include DbgEng.h.