Click to return to the Networking, Protocols     
CreateAsyncBindCtxEx Func...     CreateURLBinding Function     URL Monikers Functions    
Web Workshop  |  Networking, Protocols & Data Formats

CreateFormatEnumerator Function


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

RegisterFormatEnumerator, RevokeFormatEnumerator



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.