MFC
Class CAsyncMonikerFile
CObject
|
+--CFile
|
+--COleStreamFile
|
+--CMonikerFile
|
+--CAsyncMonikerFile
in AFXOLE.H
- Direct Known Subclasses:
- CDataPathProperty
- class CAsyncMonikerFile
- extends CMonikerFile
|
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 |
m_bStopBindingReceived
protected BOOL m_bStopBindingReceived;
m_pAfxBSCCurrent
protected _AfxBindStatusCallback* m_pAfxBSCCurrent;
m_pFormatEtc
protected FORMATETC* m_pFormatEtc;
CAsyncMonikerFile
public CAsyncMonikerFile();
~CAsyncMonikerFile
public virtual ~CAsyncMonikerFile();
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 );