IDiaSession::getNumberOfFunctionFragments_RVA

Retrieves the number of discontiguous fragments for the function at the specified relative virtual address (RVA).

Syntax

HRESULT getNumberOfFunctionFragments_RVA(
    DWORD rvaFunc,
    DWORD cbFunc,
    DWORD *pNumFragments
);

Parameters

rvaFunc

[in] The relative virtual address of the function.

cbFunc

[in] The total size in bytes of the function (that is, the length of the function).

pNumFragments

[out] The number of fragments.

Return Value

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

See also