Export (0) Print
Expand All

IDiaPropertyStorage::ReadPropertyNames

Retrieves corresponding string names for given property identifiers.

HRESULT ReadPropertyNames (
   ULONG         cpropid,
   PROPID const* rgpropid,
   BSTR*         rglpwstrName
);

cpropid

[in] Number of property ids in rgpropid.

rgpropid

[in] Array of property ids for which to get the names (PROPID is defined in WTypes.h as a ULONG).

rglpwstrName

[in, out] Array of property names for the specified property ids. The array must be pre-allocated to hold the requested number of property names and must be able to hold at least cpropid BSTR strings.

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

The returned property names must be freed (by calling the SysFreeString function) when they are no longer needed.

Show:
© 2014 Microsoft