📄 stdafx.h
字号:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
#define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
//#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "resource.h"
#include <process.h> /* _beginthread, _endthread */
#include <wininet.h>
//必须要加上下面一行,以链接到wininet.dll库
#pragma comment(lib,"wininet")
//两个用户定义消息,在WndProc要用到
#define WM_USER_CHECKFILES (WM_USER + 1)
#define WM_USER_GETFILES (WM_USER + 2)
//FTP下载的必要信息
//ftp://61.161.114.163/无间道3终极无间/IA-III1.rmvb
#define FTPSERVER TEXT ("ftp://61.161.114.163")
#define DIRECTORY TEXT ("ftp://61.161.114.163/无间道3终极无间/")
#define TEMPLATE TEXT ("*.*")
//用来存储文件名和内容的一些自定结构体
typedef struct
{
TCHAR * szFilename ;
char * szContents ;
}
FILEINFO ;
typedef struct
{
int iNum ;
FILEINFO info[1] ;
}
FILELIST ;
//如下结构在辅助线程中要用到
typedef struct
{
BOOL bContinue;
HWND hwnd;
}
PARAMS;
// TODO: reference additional headers your program requires here
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -