IPropertyStorage::Enum

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.

HRESULT Enum(

IEnumSTATPROPSTG** ppenum

//Indirect pointer to new enumerator

);

Parameters

ppenum
[out] Indirect pointer to the IEnumSTATPROPSTG interface on the new enumeration object.

Return Values

This method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
A pointer to the enumerator has been retrieved.
STG_E_ACCESSDENIED
The requested access to the property storage object has been denied.
STG_E_INSUFFICIENTMEMORY
There is not sufficient memory to perform this operation.
STG_E_INVALIDPARAMETER
The parameter is invalid.
STG_E_READFAULT
Error reading storage.

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 IEnumSTATPROPSTG interface on this objects whose methods you can call to obtain information on the current property set.

See Also

IEnumSTATPROPSTG, IEnumSTATPROPSTG -- Compound File Implementation