callproc.h

来自「在WinCE环境下,不同的AP可能需要共享数据,信息,该例子就是几个不同的AP来」· C头文件 代码 · 共 37 行

H
37
字号
#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 + =
减小字号Ctrl + -
显示快捷键?