description | title | ms.date | ms.topic | dev_langs | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the number of bits or bytes of memory used by the object represented by this symbol. |
IDiaSymbol::get_length |
11/04/2016 |
reference |
|
|
mikejo5000 |
mikejo |
mijacobs |
debug-diagnostics |
Retrieves the number of bits or bytes of memory used by the object represented by this symbol.
HRESULT get_length (
ULONGLONG* pRetVal
);
pRetVal
[out] Returns the number of bytes or bits of memory used by the object represented by this symbol.
If successful, returns S_OK
; otherwise, returns S_FALSE
or an error code.
Note
A return value of S_FALSE
means the property is not available for the symbol.
If the LocationType Enumeration of the symbol is LocIsBitField
, the length returned by this method is in bits; otherwise, the length is in bytes for all other location types.
IDiaSymbol* pSymbol;
ULONGLONG length;
pSymbol->get_length( &length );
Requirement | Description |
---|---|
Header: | dia2.h |
Version: | DIA SDK v7.0 |