Creates an object that implements IEnumFORMATETC over a static array of FORMATETC structures.
HRESULT CreateFormatEnumerator(
UINT cfmtetc, |
//Number of FORMATETC structures in rgfmtetc |
FORMATETC *rgfmtetc, |
//Static array of formats. |
IEnumFORMATETC **ppenumfmtetc |
//Indirect pointer to enumerator object |
); |
Parameters
Return Values
Remarks
The CreateFormatEnumerator function creates an enumerator object that implements IEnumFORMATETC over a static array of FORMATETC structures. The cfmtetc parameter specifies the number of these structures. With the pointer, you can call the standard enumeration methods to enumerate the structures, as described in the IEnumXXX reference.
See Also
RegisterFormatEnumerator, RevokeFormatEnumerator