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

📄 callproc.h

📁 在WinCE环境下,不同的AP可能需要共享数据,信息,该例子就是几个不同的AP来读写同一块内存的例子.
💻 H
字号:
#if !defined(CALL_PROC_H)
#define CALL_PROC_H

#include <commctrl.h>
#include <winuser.h>

#ifdef	DEVICE_DEBUG
#else	// EMULATOR_DEBUG
#endif	// DEVICE_DEBUG
#define WMMSG_CLOSE_GPS	(WM_USER + 1000)

typedef struct ShareDataSt
{
	TCHAR	Para_GPS_USE_FLAG[5];		// whether the GPS is open,0:close;1:open.
	TCHAR	Para_GPS_USE_DATETIME[20];	// the data time while the GPS is open
	TCHAR	Para_Src_APP[50];			// the App which opened the GPS ex. Park.exe
	TCHAR	Para_Src_APP_PATH[100];     // the App path. ex. \My Flash Disk\MioMap
	TCHAR	Para_Des_APP[50];			// the App want to use the GPS			
	TCHAR	Para_Des_APP_PATH[100];		// the App Path
	TCHAR	Para_Src_Title[50];			// the title of App which open the GPS	
	TCHAR	Para_Des_Title[50];	        // the title of App which want to use GPS
} ShareData;

#ifdef __cplusplus
extern "C" {
#endif
extern BOOL		IsRun(CString APPName);
extern void		ClearMemory();
extern BOOL		ExecProc(HWND, LPCTSTR, LPCTSTR);
extern void		WriteMemoryMap(HANDLE, ShareData *);
extern void		ReadMemoryMap(HANDLE, ShareData *);
//extern ShareDataSt pData;
#ifdef __cplusplus
}
#endif

#endif	// !defined(CALL_PROC_H)

⌨️ 快捷键说明

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