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

//Indirect pointer to the new enumerator

);

Parameters

ppenum
[out] Indirect pointer to the IEnumSTATPROPSETSTG on the newly created enumeration 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.

See Also

IEnumSTATPROPSETSTG, IEnumSTATPROPSETSTG -- Compound File Implementation