RegisterFormatEnumeratorRegisterFormatEnumerator*
*Contents  *Index  *Topic Contents
*Previous Topic: RegisterBindStatusCallback
*Next Topic: RegisterMediaTypeClass

RegisterFormatEnumerator

HRESULT RegisterFormatEnumerator(
    [in] LPBC pBC,
    [in] IEnumFORMATETC *pEFetc,
    [in] DWORD  reserved
);

Registers a FORMATETC enumerator object onto the given bind context.

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

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.

See also CreateFormatEnumerator, RevokeFormatEnumerator


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.