IDiaSymbol::get_registerType

Retrieves the register type.

Syntax

HRESULT get_registerType(
   DWORD* pRetVal);

Parameters

pRetVal

[out] A pointer to a DWORD that holds the register type, a value from CV_HLSLREG_e.

Return Value

If successful, returns S_OK; otherwise, returns S_FALSE or an error code.

Remarks

Note

The newer DXC compiler no longer produces PDBs. This API only has valid values on PDBs produced by the older fxc.exe compiler.

See also