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


CMonikerFile::CreateBindContext

Call this function to create a default initialized bind context.

IBindCtx* CreateBindContext( 
   CFileException* pError  
);

Параметры

  • pError
    A pointer to a file exception. In the event of an error, it will be set to the cause.

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

A pointer to the bind context IBindCtx to bind with if successful; otherwise NULL. If the instance was opened with an IBindHost interface, the bind context is retrieved from the IBindHost. If there is no IBindHost interface or the interface fails to return a bind context, a bind context is created. For a description of the IBindHost interface, see the Windows SDK.

Заметки

A bind context is an object that stores information about a particular moniker binding operation. You can override this function to provide a custom bind context.

Требования

Header: afxole.h

См. также

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

CMonikerFile Class

CMonikerFile Members

Hierarchy Chart