Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

STATPROPSTG structure (propidl.h)

The STATPROPSTG structure contains data about a single property in a property set. This data is the property ID and type tag, and the optional string name that may be associated with the property.

IPropertyStorage::Enum supplies a pointer to the IEnumSTATPROPSTG interface on an enumerator object that can be used to enumerate the STATPROPSTG structures for the properties in the current property set. STATPROPSTG is defined as:

Syntax

typedef struct tagSTATPROPSTG {
 LPOLESTR lpwstrName;
 PROPID propid;
 VARTYPE vt;
} STATPROPSTG;

Members

lpwstrName

A wide-character null-terminated Unicode string that contains the optional string name associated with the property. May be NULL. This member must be freed using CoTaskMemFree.

propid

A 32-bit identifier that uniquely identifies the property within the property set. All properties within property sets must have unique property identifiers.

vt

The property type.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Header propidl.h (include Propidl.h)

See also

IEnumSTATPROPSTG

IPropertyStorage::Enum


Feedback

Was this page helpful?

Additional resources