IDiaSymbol::get_staticSize
Retrieves the static instruction count.
Syntax
HRESULT get_staticSize (
DWORD* pRetVal
);
Parameters
pRetVal
[out] Returns the count of instructions in the function. See remarks,
Return Value
If successful, returns S_OK
; otherwise, returns S_FALSE
or an error code.
Note
A return value of S_FALSE
means that the property is not available for the symbol.
Remarks
This is the total number of instructions in the function. To get only the count of live instructions, use IDiaSymbol::get_finalLiveStaticSize
. To get the number of instructions executed in this function use IDiaSymbol::get_PGODynamicInstructionCount
.