IDiaStackWalkHelper::getNumberOfFunctionFragmentsForVA

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

Syntax

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

Parameters

[in] vaFunc

The virtual address of the function.

[in] cbFunc

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

[out] pNumFragments

The number of fragments.

Return Value

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

See also