ICorDebugVariableHome::GetRegister Method
Gets the register that contains a variable with a location type of VLT_REGISTER
, and the base register for a variable with a location type of VLT_REGISTER_RELATIVE
.
Syntax
HRESULT GetRegister(
[out] CorDebugRegister *pRegister
);
Parameters
pRegister
[out] A CorDebugRegister enumeration value that indicates the register for a variable with a location type of VLT_REGISTER
, and the base register for a variable with a location type of VLT_REGISTER_RELATIVE
.
Return Value
The method returns the following values:
Value | Description |
---|---|
S_OK |
The variable is in the register indicated by the pRegister argument. |
E_FAIL |
The variable is not in a register or a register-relative location. |
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.6.2
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.