Export (0) Print
Expand All


Retrieves corresponding string names for given property identifiers.

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


[in] Number of property ids in rgpropid.


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


[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.

© 2015 Microsoft