home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CAsyncMonikerFile

CObject
   |
   +--CFile
         |
         +--COleStreamFile
               |
               +--CMonikerFile
                     |
                     +--CAsyncMonikerFile

   in AFXOLE.H
Direct Known Subclasses:
CDataPathProperty

class CAsyncMonikerFile
extends CMonikerFile


Field Summary
protected BOOL m_bStopBindingReceived
          
protected _AfxBindStatusCallback* m_pAfxBSCCurrent
          
protected FORMATETC* m_pFormatEtc
          
   
Fields inherited from class COleStreamFile
m_lpStream, m_strStorageName
   
Fields inherited from class CFile
classCFile, m_hFile, m_bCloseOnDelete, m_strFileName
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
CAsyncMonikerFile()
          
virtual ~CAsyncMonikerFile()
          
 
Method Summary
 virtual void Close()
          
protected virtual IUnknown* CreateBindStatusCallback( IUnknown* pUnkControlling )
          
protected void EndCallbacks()
          
protected virtual DWORD GetBindInfo() const
          
 IBinding* GetBinding() const
          
 FORMATETC* GetFormatEtc() const
          
protected virtual LONG GetPriority() const
          
protected  IPTR( IBinding ) m_Binding
          
protected virtual void OnDataAvailable( DWORD dwSize, DWORD bscfFlag )
          
protected virtual void OnLowResource()
          
protected virtual void OnProgress( ULONG ulProgress, ULONG ulProgressMax, ULONG ulStatusCode, LPCTSTR szStatusText )
          
protected virtual void OnStartBinding()
          
protected virtual void OnStopBinding( HRESULT hresult, LPCTSTR szError )
          
 virtual BOOL Open( IMoniker* pMoniker, IServiceProvider* pServiceProvider, CFileException* pError = NULL )
          
 virtual BOOL Open( IMoniker* pMoniker, IUnknown* pUnknown, CFileException* pError = NULL )
          
 virtual BOOL Open( LPCTSTR lpszURL, IUnknown* pUnknown, CFileException* pError = NULL )
          
 virtual BOOL Open( LPCTSTR lpszURL, IBindHost* pBindHost, CFileException* pError = NULL )
          
 virtual BOOL Open( IMoniker* pMoniker, CFileException* pError = NULL )
          
 virtual BOOL Open( LPCTSTR lpszURL, IServiceProvider* pServiceProvider, CFileException* pError = NULL )
          
 virtual BOOL Open( IMoniker* pMoniker, IBindHost* pBindHost, CFileException* pError = NULL )
          
 virtual BOOL Open( LPCTSTR lpszURL, CFileException* pError = NULL )
          
protected virtual BOOL PostBindToStream( CFileException* pError )
          
 virtual UINT Read( void* lpBuf, UINT nCount )
          
protected void SetBinding( IBinding* pBinding )
          
protected void SetFormatEtc( FORMATETC* pFormatEtc )
          
   
Methods inherited from class CMonikerFile
Open, Open, Close, Detach, GetMoniker, CreateBindContext, Open, Attach, Open, Attach, PostBindToStream, CreateBindHost, Flush, IPTR
   
Methods inherited from class COleStreamFile
OpenStream, CreateStream, CreateMemoryStream, Attach, Detach, GetStream, GetStatus, GetPosition, GetStorageName, Duplicate, Seek, SetLength, GetLength, Read, Write, LockRange, UnlockRange, Abort, Flush, Close
   
Methods inherited from class CFile
GetRuntimeClass, HFILE, GetPosition, GetStatus, GetFileName, GetFileTitle, GetFilePath, SetFilePath, Open, Rename, Remove, GetStatus, SetStatus, SeekToEnd, SeekToBegin, ReadHuge, WriteHuge, Duplicate, Seek, SetLength, GetLength, Read, Write, LockRange, UnlockRange, Abort, Flush, Close, GetBufferPtr
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_bStopBindingReceived

protected BOOL m_bStopBindingReceived;

m_pAfxBSCCurrent

protected _AfxBindStatusCallback* m_pAfxBSCCurrent;

m_pFormatEtc

protected FORMATETC* m_pFormatEtc;


Constructor Detail

CAsyncMonikerFile

public CAsyncMonikerFile();

~CAsyncMonikerFile

public virtual ~CAsyncMonikerFile();


Method Detail

Close

public virtual void Close();

CreateBindStatusCallback

protected virtual IUnknown* CreateBindStatusCallback( IUnknown* pUnkControlling );

EndCallbacks

protected void EndCallbacks();

GetBindInfo

protected virtual DWORD GetBindInfo() const;

GetBinding

public IBinding* GetBinding() const;

GetFormatEtc

public FORMATETC* GetFormatEtc() const;

GetPriority

protected virtual LONG GetPriority() const;

IPTR

protected IPTR( IBinding ) m_Binding;

OnDataAvailable

protected virtual void OnDataAvailable( DWORD dwSize, DWORD bscfFlag );

OnLowResource

protected virtual void OnLowResource();

OnProgress

protected virtual void OnProgress( ULONG ulProgress, ULONG ulProgressMax, ULONG ulStatusCode, LPCTSTR szStatusText );

OnStartBinding

protected virtual void OnStartBinding();

OnStopBinding

protected virtual void OnStopBinding( HRESULT hresult, LPCTSTR szError );

Open

public virtual BOOL Open( IMoniker* pMoniker, IServiceProvider* pServiceProvider, CFileException* pError = NULL );

Open

public virtual BOOL Open( IMoniker* pMoniker, IUnknown* pUnknown, CFileException* pError = NULL );

Open

public virtual BOOL Open( LPCTSTR lpszURL, IUnknown* pUnknown, CFileException* pError = NULL );

Open

public virtual BOOL Open( LPCTSTR lpszURL, IBindHost* pBindHost, CFileException* pError = NULL );

Open

public virtual BOOL Open( IMoniker* pMoniker, CFileException* pError = NULL );

Open

public virtual BOOL Open( LPCTSTR lpszURL, IServiceProvider* pServiceProvider, CFileException* pError = NULL );

Open

public virtual BOOL Open( IMoniker* pMoniker, IBindHost* pBindHost, CFileException* pError = NULL );

Open

public virtual BOOL Open( LPCTSTR lpszURL, CFileException* pError = NULL );

PostBindToStream

protected virtual BOOL PostBindToStream( CFileException* pError );

Read

public virtual UINT Read( void* lpBuf, UINT nCount );

SetBinding

protected void SetBinding( IBinding* pBinding );

SetFormatEtc

protected void SetFormatEtc( FORMATETC* pFormatEtc );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD