RegisterBindStatusCallbackRegisterBindStatusCallback*
*



Contents  *



Index  *Topic Contents
*Previous Topic: ObtainUserAgentString
*Next Topic: RegisterFormatEnumerator

RegisterBindStatusCallback

HRESULT RegisterBindStatusCallback(
    [in] IBindCtx *pbc,
    [in] IBindStatusCallback *pbsc,
    [out] IBindStatusCallback **ppbscPrevious,
    [in] DWORD  dwReserved
);

Registers a callback interface with an existing bind context.

pbc
Address of the IBindCtx interface to receive callbacks from.
pbsc
Address of the IBindStatusCallback interface implementation to be registered.
ppbscPrevious
Address of a pointer to a previously registered instance of IBindStatusCallback.
dwReserved
Reserved for future use.

The IBindStatusCallback interface passed into the pbsc parameter will receive callbacks on any binding operations using the bind context passed into the pbc parameter.

Only the last IBindStatusCallback interface that was registered to a particular bind context will receive callbacks. The implementation of IBindStatusCallback could pass the callbacks it receives to the previously registered IBindStatusCallback interface using the address of a pointer in the ppbscPrevious parameter.

See also IBindStatusCallback, RevokeBindStatusCallback


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