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

📄 stdafx.h

📁 wince下交警执法程序源码,使用evc编写
💻 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__358FC919_3A46_41CF_ABAB_D81BC00E59DD__INCLUDED_)
#define AFX_STDAFX_H__358FC919_3A46_41CF_ABAB_D81BC00E59DD__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#if (_WIN32_WCE <= 200)
#error : This project does not support MFCCE 2.00 or earlier, because it requires CControlBar, available only in MFCCE 2.01 or later
#endif


#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#if defined(_WIN32_WCE) && (_WIN32_WCE >= 211) && (_AFXDLL)
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#endif

#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT


#include <afxsock.h>




typedef struct _Drive_Certi_Info
{
	TCHAR	m_address[32];
	TCHAR   m_born_date[12]; //similar as 1996/03/23
	TCHAR   m_car_permission[4]; //C1,B1....
	TCHAR   m_cer_mumber[20];
	TCHAR   m_country[4];
	short   m_curr_points;
	short   m_deducted_points;
	TCHAR   m_date_get_cer_date[12];
	TCHAR   m_name[4];
	TCHAR   m_sex[2];
	TCHAR   m_start_date[12];
	short   m_valid_date; //years units

}Drive_Certi_Info;


typedef struct _Punish_Info
{
		
	short m_deducting_points;
	TCHAR m_exec_branch[32];
	TCHAR m_exec_man[16];
	TCHAR m_pecc_car[10];
	TCHAR m_pecc_desc[128];
	TCHAR m_pecc_man[16];
	TCHAR m_pecc_region[64];
	TCHAR m_cer_mumber[20];

}Punish_Info;

typedef struct _Car_Info
{
	TCHAR m_car_tablet[10];
	TCHAR m_type[5];
	TCHAR m_engine_number[10];
	short m_useless_date;

}Car_Info;




//netword server code 
#define GET_CAR_INFO 1000
#define PUNISH       1001


typedef struct _Get_CarInfo_Param
{
    short m_srvCode;
	TCHAR m_car_tablet[10];

}Get_CarInfo_Param;




//global function definitions
void WinExec(const TCHAR *lpFile,const TCHAR *lpParams);
char * WcharsToChars(const WCHAR *pSr);
int  WriteICC(int offset,void *buf,int len);
int  ReadICC(int offset,void *buf,int len);


//phone operation Macro define
#define WU_PHONE_INCOMING_CALL WM_USER +100
#define WU_PHONE_QUIT WM_USER +101
#define WU_PHONE_OPEN WM_USER +102
#define WU_PHONE_CLOSE WM_USER+103
#define WU_PHONE_NEW_COMEING_CALL WM_USER+104
#define WU_PHONE_QUIT_PROB WM_USER +105

#define PROB_NONE 0
#define PROB_INCOMING_CALL 0x01 
#define PROB_HANGUP 0x02


////
#define WU_EVENT_CAR_SEARCHING WM_USER+200


//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__358FC919_3A46_41CF_ABAB_D81BC00E59DD__INCLUDED_)




⌨️ 快捷键说明

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