The PROPSPEC structure is used by many of the methods of IPropertyStorage to specify a property either by its property identifier or the associated string name. The structure and related definitions are defined as follows in the header files:
const ULONG PRSPEC_LPWSTR = 0 const ULONG PRSPEC_PROPID = 1 typedef ULONG PROPID typedef struct tagPROPSPEC { ULONG ulKind; // PRSPEC_LPWSTR or PRSPEC_PROPID union { PROPID propid; LPOLESTR lpwstr; } } PROPSPEC
Members
Remarks
String names are optional and can be assigned to a set of properties when the property is created with a call to IPropertyStorage::WriteMultiple, or later, with a call to IPropertyStorage::WritePropertyNames.
See Also