IPropertyStorage::Enum method (propidlbase.h)

The Enum method creates an enumerator object designed to enumerate data of type STATPROPSTG, which contains information on the current property set. On return, this method supplies a pointer to the IEnumSTATPROPSTG pointer on this object.

Syntax

HRESULT Enum(
  [out] IEnumSTATPROPSTG **ppenum
);

Parameters

[out] ppenum

Pointer to IEnumSTATPROPSTG pointer variable that receives the interface pointer to the new enumerator object.

Return value

This method supports the standard return value E_UNEXPECTED, in addition to the following:

Remarks

IPropertyStorage::Enum creates an enumeration object that can be used to iterate STATPROPSTG structures. On return, this method supplies a pointer to an instance of the IEnumSTATPROPSTG interface on this object, whose methods you can call to obtain information about the current property set.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header propidlbase.h (include Objbase.h, Propidlbase.h)
Library Uuid.lib
DLL Ole32.dll

See also

EnumAll Sample

IEnumSTATPROPSTG

IEnumSTATPROPSTG - Compound File Implementation

IPropertyStorage

Samples