Creates an asynchronous bind context for use with asynchronous monikers.
HRESULT CreateAsyncBindCtx(
DWORD dwReserved, |
//Reserved for future use; must be zero |
IBindStatusCallback *pbsc, |
//Pointer to callback interface |
IEnumFORMATETC*penumfmtetc, |
//Pointer to enumerator object for formats |
IBindCtx **ppbc |
//Indirect pointer to new bind context |
); |
Parameters
Return Values
Remarks
This function automatically registers the IBindStatusCallback and the IEnumFORMATETC interfaces with the bind context. The grfBSCOption parameter allows the client to specify flags indicating which callback notifications the client is capable of receiving. If the client does not wish to receive certain notification, it can choose to implement those callback methods as empty function stubs (returning E_NOTIMPL), and they should not be called.
The RegisterBindStatusCallback function can also be used to register callback interfaces in the bind context.
See Also
IBindStatusCallback, BSCO_OPTION, RegisterBindStatusCallback