stdafx.h

来自「《Visual C++视频/音频开发实用工程案例精选》一书的源代码」· C头文件 代码 · 共 45 行

H
45
字号


#pragma warning(disable : 4100)
#define _WIN32_WINDOWS 0x0410 
#define WIN32_LEAN_AND_MEAN

#define _WIN32_IE 0x600

#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <limits.h>
#include "debug.h"
#include <process.h>
#include <wininet.h>
// #include <search.h>
#include <malloc.h>
#include <time.h>
#include <shlobj.h>
#include <commdlg.h>
#include <mmsystem.h>
#include <shellapi.h>
#include <io.h>

#define sprintf wsprintf
#define strcpy lstrcpy
#define strcmp lstrcmp
#define strcat lstrcat
#define stricmp lstrcmpi
#define strlen lstrlen
#define strncpy lstrcpyn

#ifndef OFN_ENABLESIZING
#define OFN_ENABLESIZING             0x00800000
#endif

#ifndef IRF_NO_WAIT
#define IRF_NO_WAIT     0x00000008
#endif

#ifndef IDC_STATIC  /* May be predefined by resource compiler.  */
#define IDC_STATIC (-1)
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?