IDiaSession::getNumberOfFunctionFragments_VA

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

Syntax

HRESULT getNumberOfFunctionFragments_VA(
    ULONGLONG vaFunc,
    DWORD cbFunc,
    DWORD *pNumFragments
);

Parameters

vaFunc

[in] The 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