Debugging Tools for Windows |
The GetDescription and GetDescriptionWide methods return the description of a register.
HRESULT
IDebugRegisters::GetDescription(
IN ULONG Register
OUT OPTIONAL PSTR NameBuffer,
IN ULONG NameBufferSize,
OUT OPTIONAL PULONG NameSize,
OUT OPTIONAL PDEBUG_REGISTER_DESCRIPTION Desc
);
HRESULT
IDebugRegisters2::GetDescriptionWide(
IN ULONG Register
OUT OPTIONAL PWSTR NameBuffer,
IN ULONG NameBufferSize,
OUT OPTIONAL PULONG NameSize,
OUT OPTIONAL PDEBUG_REGISTER_DESCRIPTION Desc
);
#ifdef UNICODE
#define GetDescriptionT GetDescriptionWide
#else
#define GetDescriptionT GetDescription
#endif
This list does not contain all the errors that might occur. For a list of possible errors, see HRESULT Values.
GetDescription is available in all versions of IDebugRegisters. GetDescriptionWide is available in IDebugRegisters2 and later versions.
For an overview of the IDebugRegisters interface and other register-related methods, see Registers.
Headers: Defined in DbgEng.h. Include DbgEng.h.