⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.h

📁 国内著名网络游戏dragon的服务端完整源码 内附完整数据库结构
💻 H
字号:
#pragma once

#include <afx.h>
#include <ole2.h>
#include <initguid.h>
#include <windows.h>
#include <winsock2.h>
// 傍蜡 扼捞宏矾府
#pragma comment (lib, "../Library/HSEL.lib")
#include "../Library/Shared/HSEL.h"
#pragma comment (lib, "../Library/Shared.lib")
#include "../Library/Shared/Shared.h"

#if !defined(_DLLEXPORT_)
	// If _DLLEXPORT_ is NOT defined then the default is to import.
	#if defined(__cplusplus)
		#define DLLENTRY extern "C" __declspec(dllimport)
	#else
		#define DLLENTRY extern __declspec(dllimport)
	#endif

	#define STDENTRY DLLENTRY HRESULT WINAPI
	#define STDENTRY_(type) DLLENTRY type WINAPI

	// Here is the list of server APIs offered by the DLL (using the
	// appropriate entry API declaration macros just #defined above).

	STDENTRY DllRegisterServer(void);
	STDENTRY DllUnregisterServer(void);
#else  // _DLLEXPORT_
	// Else if _DLLEXPORT_ is indeed defined then we've been told to export.
	#if defined(__cplusplus)
		#define DLLENTRY extern "C" __declspec(dllexport)
	#else
		#define DLLENTRY __declspec(dllexport)
	#endif

	#define STDENTRY DLLENTRY HRESULT WINAPI
	#define STDENTRY_(type) DLLENTRY type WINAPI
#endif // _DLLEXPORT_

#define GUID_SIZE 128
#define MAX_STRING_LENGTH 256
typedef void**	PPVOID;

⌨️ 快捷键说明

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