Registers a FORMATETC enumerator object onto the given bind context.
Syntax
HRESULT RegisterFormatEnumerator( LPBC pBC, IEnumFORMATETC *pEFetc, DWORD reserved );
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 to be registered.
- reserved
- [in] Reserved. Must be set to zero.
Return Value
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 would be the pointer obtained through a call to CreateFormatEnumerator.
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