Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BSCO_OPTION enumeration

Specifies the callback notifications that the client wants from the moniker. Simple clients of IMoniker::BindToStorage that want nothing but the data bits need specify only BSCO_ONDATAAVAILABLE.

Syntax


typedef enum  { 
  BSCO_ONSTARTBINDING     = 0x00000001,
  BSCO_GETPRIORITY        = 0x00000002,
  BSCO_ONLOWRESOURCE      = 0x00000004,
  BSCO_ONPROGRESS         = 0x00000008,
  BSCO_ONSTOPBINDING      = 0x00000010,
  BSCO_GETBINDINFO        = 0x00000020,
  BSCO_ONDATAAVAILABLE    = 0x00000040,
  BSCO_ONOBJECTAVAILABLE  = 0x00000080,
  BSCO_ALLONIBSC          = 0x000000FF,
  BSCO_ALLONIBDGSITE      = 0x0000001F
} BSCO_OPTION;

Constants

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.

BSCO_ALLONIBDGSITE

The client would like to receive all callbacks.

Remarks

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

See also

IBindStatusCallback
RegisterBindStatusCallback

 

 

Community Additions

ADD
Show:
© 2015 Microsoft