Поделиться через


CBindStatusCallback::GetBindInfo

Called to tell the moniker how to bind.

STDMETHOD(GetBindInfo)(
   DWORD* pgrfBSCF,
      BINDINFO* pbindinfo 
);

Параметры

  • pgrfBSCF
    [out] A pointer to BINDF enumeration values indicating how the bind operation should occur. By default, set with the following enumeration values:

    BINDF_ASYNCHRONOUS   Asynchronous download.

    BINDF_ASYNCSTORAGE   OnDataAvailable returns E_PENDING when data is not yet available rather than blocking until data is available.

    BINDF_GETNEWESTVERSION   The bind operation should retrieve the newest version of the data.

    BINDF_NOWRITECACHE   The bind operation should not store retrieved data in the disk cache.

  • pbindinfo
    [in, out] A pointer to the BINDINFO structure giving more information about how the object wants binding to occur.

Возвращаемое значение

One of the standard HRESULT values.

Заметки

The default implementation sets the binding to be asynchronous and to use the data-push model. In the data-push model, the moniker drives the asynchronous bind operation and continuously notifies the client whenever new data is available.

Требования

Header: atlctl.h

См. также

Основные понятия

CBindStatusCallback Class

CBindStatusCallback Members