- 博客(0)
- 资源 (2)
- 收藏
- 关注
outlook inbox 操作
直接mapi读取inbox内容。
STDMETHODIMP ListMessages( LPMDB lpMDB, LPMAPIFOLDER lpInboxFolder);
STDMETHODIMP OpenDefaultMessageStore( LPMAPISESSION lpMAPISession, LPMDB * lpMDB);
STDMETHODIMP OpenInbox(LPMDB lpMDB, LPMAPIFOLDER *lpInboxFolder);
2013-04-10
FTP下载,基于socket实现.
//函数说明:普通方式下载Ftp文件。
int Get( const string & strRemoteFile , const string & strLocalFile ) ;
//函数说明:多线程方式下载Ftp文件。
int Get( const string & strRemoteFile , const string & strLocalFile , const unsigned int nThreadNumber ) ;
//函数说明:上载Ftp文件,支持断点方式上传。
int Put( const string & strLocalFile , const string & strRemoteFile ) ;
//函数说明:删除指定的文件。
int Delete( const string & strRemoteFile ) ;
//函数说明:删除指定的文件夹。
int DeleteDirectory(const string & strPath ) ;
//函数说明:创建路径。
int CreateDirectory( const string & strPath ) ;
//函数说明:重新命名FTP文件名。
int Rename(const string & strRemoteFile , const string & strNewFile ) ;
//函数说明:切换工作路径。
int CD( const string & strPath ) ;
//函数说明:显示当前用户登录的默认路径。
const char * PWD( void ) ;
//函数说明:显示指定路径的文件列表。
const char * Dir( const string & strPath ) ;
//函数说明:显示指定路径的文件大小。
unsigned long GetSize( const string & strPath ) ;
2010-03-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人