📄 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__7B58574A_9CAA_4D72_8286_8F715CC4FB56__INCLUDED_)
#define AFX_STDAFX_H__7B58574A_9CAA_4D72_8286_8F715CC4FB56__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
#include <afxsock.h> // MFC socket extensions
#include <afxtempl.h> // MFC STL
// Operation code
#define OPERATION_ADD 1
#define OPERATION_UPD 2
#define OPERATION_DEL 3
#define OPERATION_START 4
#define OPERATION_STOP 5
// Length of property
#define DEVICE_ID_LEN 12
typedef struct _ZGMP_HEAD
{
BYTE cPType_H;
BYTE cPType_L;
BYTE cPVersion_H;
BYTE cPVersion_L;
int nPSerial;
BYTE cEncrpType;
BYTE cEncrpValue;
} ZGMP_HEAD;
// Device operation code
#define DEV_CTRL_START 1
#define DEV_CTRL_STOP 2
#define DEV_CTRL_QUERY 3
// Using for User auth
#define USER_AUTH_DENY 0
#define USER_AUTH_SCHE_RELATED 1
#define USER_AUTH_ADMIN 2
//////////////////////////////////////////////////////////////////////////
extern CString g_strInternalCtrlIP;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__7B58574A_9CAA_4D72_8286_8F715CC4FB56__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -