IDiaSymbol::get_types

Retrieves an array of compiler-specific types for this symbol.

Syntax

HRESULT get_types ( 
   DWORD       cTypes,
   DWORD*      pcTypes,
   IDiaSymbol* types[]
);

Parameters

cTypes

[in] Size of the buffer to hold the data.

pcTypes

[out] Returns the number of types written, or, if the types parameter is NULL, then the total number of types available.

types[]

[out] An array that is to be filled in with the IDiaSymbol objects that represent all the types for this symbol.

Return Value

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

Note

A return value of S_FALSE means the property is not available for the symbol.

See also