stdafx.h
来自「3D游戏展示程序」· C头文件 代码 · 共 52 行
H
52 行
//--------------------------------------------------
// Desc: DLL Export Header
// Date: 2007.3.11 /update
// Author: artsylee
//
// Copyright (C) 2006-2007 artsylee
//
//--------------------------------------------------
#ifndef _STDAFX_H_
#define _STDAFX_H_
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <mmsystem.h>
#include <stdlib.h>
// convert size_t to int
#pragma warning(disable : 4267)
// std warning
#pragma warning(disable : 4251)
// inline macro
#ifndef ASINLINE
#ifdef _MSC_VER
#if(_MSC_VER >= 1200)
#define ASINLINE __forceinline
#else
#define ASINLINE __inline
#endif
#else
#ifdef __cplusplus
#define ASINLINE inline
#else
#define ASINLINE
#endif
#endif
#endif
// debug macro
// #ifndef ASDEBUG
// dllexport
#define ASE_EXPORT
#ifdef ASE_EXPORT
#define ASE_DLL __declspec(dllexport)
#else
#define ASE_DLL __declspec(dllimport)
#endif // ASE_EXPORT
#endif // _STDAFX_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?