?? ftp.h
字號:
/////////////////////////////////////////////////////////////////////////////
// CMyAppThread thread
#include <afxinet.h>
class CMyAppThread : public CWinThread
{
DECLARE_DYNCREATE(CMyAppThread)
protected:
CMyAppThread(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
static UINT RenameFileThread(LPVOID lParam);
static UINT DeleteFileThread(LPVOID lParam);
static UINT ReceiveFileThread(LPVOID lParam);
static UINT SendFileThread(LPVOID lParam);
static UINT FindLocFileThread(LPVOID lParam);
static UINT FindServFileThread(LPVOID lParam);
protected:
static BOOL PreDeleteFile(HINTERNET hInetSession,CString& strFtp,CString& OldDir);
static BOOL PreReceiveFile(HINTERNET hInetSession,CString& str,CString& strFtp,LPVOID pInf);
static BOOL PreSendFile(CFtpConnection* lpFtp,CString& str,CString& strFtp,LPVOID pInf);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyAppThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CMyAppThread();
// Generated message map functions
//{{AFX_MSG(CMyAppThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -