Contents Previous Page Next Page
BSCO_OPTION

A client of a binding operation provides values from the BSCO_OPTION enumeration when calling the RegisterBindStatusCallback function to register the clientÆs IBindStatusCallback interface. The BSCO_OPTION values specify the callback notifications that the client wants from the moniker. The values correspond to methods in the IBindStatusCallback interface. Simple clients of IMoniker::BindToStorage that want nothing but the data bits need specify only BSCO_ONDATAAVAILABLE.

typedef enum tagBSCO_OPTION {

BSCO_ONSTARTBINDING,

BSCO_GETPRIORITY,

BSCO_ONLOWRESOURCE,

BSCO_ONPROGRESS,

BSCO_ONSTOPBINDING,

BSCO_GETBINDINFO,

BSCO_ONDATAAVAILABLE,

BSCO_ONOBJECTAVAILABLE,

BSCO_ALLONIBSC

} BSCO_OPTION;

Elements

BSCO_ONSTARTBINDING

The client would like to receive the OnStartBinding callback.

BSCO_GETPRIORITY

The client would like to receive the GetPriority callback.

BSCO_ONLOWRESOURCE

The client would like to receive the OnLowResource callback.

BSCO_ONPROGRESS

The client would like to receive the OnProgress callback.

BSCO_ONSTOPBINDING

The client would like to receive the OnStopBinding callback.

BSCO_GETBINDINFO

The client would like to receive the GetBindInfo callback.

BSCO_ONDATAAVAILABLE

The client would like to receive the OnDataAvailable callback.

BSCO_ONOBJECTAVAILABLE

The client would like to receive the OnObjectAvailable callback.

BSCO_ALLONIBSC

The client would like to receive all callbacks.

See Also

IBindStatusCallback, RegisterBindStatusCallback