Export (0) Print
Expand All

CreateFormatEnumerator function

Creates an object that implements IEnumFORMATETC over a static array of FORMATETC structures.

Syntax


HRESULT CreateFormatEnumerator(
  _In_   UINT cfmtetc,
  _In_   FORMATETC *rgfmtetc,
  _Out_  IEnumFORMATETC **ppenumfmtetc
);

Parameters

cfmtetc [in]

An 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]

The address of a static array of FORMATETC structures.

ppenumfmtetc [out]

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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 3.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

See also

Reference
RegisterFormatEnumerator
RevokeFormatEnumerator

 

 

Show:
© 2014 Microsoft