📄 toolsfun.h
字号:
#ifndef _TOOLSFUN_H_H
#define _TOOLSFUN_H_H
#include "afxtempl.h"
#include <afxmt.h>
//#include "Mmsystem.h"//test
#define NET_PROTOCOL_HEAD 0x1111
#define WM_DELETE_CLIENT WM_USER+30
typedef struct _TsHead
{
WORD CHead; //报文头
BOOL bReInfo; //是否返回确认帧
WORD nLength; //帧长度
unsigned long nDstIP; //目的IP
int nDstPort; //目的端口号
_TsHead()
{
memset(this,0,sizeof(_TsHead));
}
}TsHead;
typedef struct _TsData
{
TsHead THead;
BYTE sData;
_TsData()
{
memset(this,0,sizeof(_TsData));
}
}TsData;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -