This topic has not yet been rated - Rate this topic

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 [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Product

Internet Explorer 3.0

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll

See also

Reference
RegisterFormatEnumerator
RevokeFormatEnumerator

 

 

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.