Creates an object that implements IEnumFORMATETC over a static array of FORMATETC structures.
Syntax
HRESULT CreateFormatEnumerator( UINT cfmtetc, FORMATETC *rgfmtetc, IEnumFORMATETC **ppenumfmtetc );
Parameters
- cfmtetc
- [in] Unsigned integer value that contains the number of FORMATETC structures in the static array specified by the rgfmtetc parameter. The cfmtetc parameter cannot be zero.
- rgfmtetc
- [in] Address of a static array of FORMATETC structures.
- ppenumfmtetc
- [out] Address of a pointer to the IEnumFORMATETC interface on the enumerator object.
Return Value
Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.
Function Information
Windows NT Use version 4.0. Implemented as a Unicode function. Windows Use Windows 95 and later. Implemented as a Unicode function. Header Urlmon.h Import Library Urlmon.lib Minimum availability Internet Explorer 3.0
See Also