IDiaSymbol10::get_sourceLink

Retreives the Source Link blob associated with this SymTagCompiland symbol.

Syntax

HRESULT get_sourceLink(
    DWORD cb,
    DWORD *pcb,
    BYTE *pb
);

Parameters

cb

[in] The size in bytes of the optional buffer pointed to by pb parameter.

pcb

[out, optional] If pb is nullptr and cb is 0, this parameter is required, and returns the size in bytes needed to contain the entire source link blob. Otherwise it returns the number of bytes written to the pb buffer upon success.

pb

[out, optional] Returns the source link information blob.

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.

See also