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 |
|
|
Library |
|
|
DLL |
|
|
IID |
IID_IPropertySetStorage is defined as 0000013A-0000-0000-C000-000000000046 |
See also