Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

STATPROPSTG structure

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 {
  LPWSTR  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

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Propidl.h

See also

IPropertyStorage::Enum
IEnumSTATPROPSTG

 

 

Show:
© 2017 Microsoft