Export (0) Print
Expand All

IPropertySetStorage::Enum method

The Enum method creates an enumerator object which contains information on the property sets stored in this property set storage. On return, this method supplies a pointer to the IEnumSTATPROPSETSTG pointer on the enumerator object.

Syntax


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

Parameters

ppenum [out]

Pointer to IEnumSTATPROPSETSTG pointer variable that receives the interface pointer to the newly created enumerator object.

Return value

This method can return one of these values.

S_OK

The enumerator object was successfully created.

STG_E_INSUFFICIENTMEMORY

There is not enough memory to perform this operation.

Remarks

IPropertySetStorage::Enum creates an enumerator object that can be used to iterate through STATPROPSETSTG structures. These sometimes provide information on the property sets managed by IPropertySetStorage. This method, on return, supplies a pointer to the IEnumSTATPROPSETSTG interface on this enumerator object on return.

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 (include Objbase.h)

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IPropertySetStorage is defined as 0000013A-0000-0000-C000-000000000046

See also

IEnumSTATPROPSETSTG
IEnumSTATPROPSETSTG - Compound File Implementation
EnumAll Sample
Samples

 

 

Community Additions

ADD
Show:
© 2014 Microsoft