IPropertySetStorage::Enum

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.

HRESULT Enum(
  IEnumSTATPROPSETSTG**ppenum  //Address of output variable that 
                               //receives the IEnumSTATPROPSETSTG 
                               //interface pointer
);
 

Parameters

ppenum
[out] Address of IEnumSTATPROPSETSTG* pointer variable that receives the interface pointer to the newly created enumerator object.

Return Values

S_OK
The enumerator object was successfully created.
STG_E_INSUFFICIENTMEMORY
There is not sufficient 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.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

IEnumSTATPROPSETSTG, IEnumSTATPROPSETSTG -- Compound File Implementation