Share via


CreateFormatEnumerator (Windows Embedded CE 6.0)

1/6/2010

This function creates an object that implements the IEnumFORMATETC interface 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.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

URL Moniker Services Functions