Share via


RegisterFormatEnumerator (Windows CE 5.0)

Send Feedback

This function registers a FORMATETC enumerator object onto the given bind context.

HRESULTRegisterFormatEnumerator(LPBCpBC,IEnumFORMATETC* pEFetc,DWORDreserved);

Parameters

  • pBC
    [in] Address of the IBindCtx interface for the bind context on which to register the enumerator.
  • pEFetc
    [in] Address of the IEnumFORMATETC interface for the enumerator that is to be registered.
  • reserved
    [in] Reserved. Must be set to zero.

Return Values

Returns S_OK if successful or E_INVALIDARG if one or more parameters are invalid.

Remarks

The enumerator is used to determine what format types are preferred for the bind operation. Typically, the pEFetc parameter is the pointer obtained through a call to CreateFormatEnumerator.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.