CMonikerFile::CreateBindContext

virtual IBindCtx* CreateBindContext( CFileException* pError );

Return Value

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 ActiveX SDK.

Parameters

pError

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

Remarks

Call this function to create a default initialized bind context. 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.

CMonikerFile OverviewClass MembersHierarchy Chart