-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstdafx.h
More file actions
46 lines (32 loc) · 1.42 KB
/
stdafx.h
File metadata and controls
46 lines (32 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// 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__119ECB1B_6E70_4662_A2A9_A20B5201CA81__INCLUDED_)
#define AFX_STDAFX_H__119ECB1B_6E70_4662_A2A9_A20B5201CA81__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
//{{AFX_INSERT_LOCATION}}
#define MAX_LAYER_NUMBER 0xff
#define ETHER_MAX_SIZE 1514
#define ETHER_HEADER_SIZE 14
#define ETHER_MAX_DATA_SIZE ( ETHER_MAX_SIZE - ETHER_HEADER_SIZE )
#define TCP_HEADER_SIZE 20
#define IP_HEADER_SIZE 20
#define APP_HEADER_SIZE ( sizeof(unsigned short) + \
sizeof(unsigned char) * 2 )
#define APP_DATA_SIZE 1496
#define CHAT_TYPE 0x2080
#define FILE_TYPE 0x2090
#define FAPP_DATA_SIZE 1488
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__119ECB1B_6E70_4662_A2A9_A20B5201CA81__INCLUDED_)