28 #define STAT_CPM_INIT 0x00
29 #define STAT_CPM_DECLARED_DEVICE 0x80
30 #define STAT_CPM_UNDECLARED_DEVICE 0x40
31 #define STAT_CPM_CLOSED 0xC0
33 #define STAT_PPM_INIT 0x00
34 #define STAT_PPM_PROV_STOP 0x25
35 #define STAT_PPM_PROV_START 0x35
45 #define PNIO_STAT_1 0x00
46 #define PNIO_STAT_2 0x10
47 #define PNIO_STAT_3 0x20
48 #define PNIO_STAT_4 0x30
50 #define PNIO_STAT_5 0x01
51 #define PNIO_STAT_6 0x11
52 #define PNIO_STAT_7 0x21
53 #define PNIO_STAT_8 0x31
55 #define PNIO_STAT_9 0x05
56 #define PNIO_STAT_10 0x15
57 #define PNIO_STAT_11 0x25
58 #define PNIO_STAT_12 0x35
60 #define PNIO_STAT_13 0x04
61 #define PNIO_STAT_14 0x14
62 #define PNIO_STAT_15 0x24
63 #define PNIO_STAT_16 0x34
69 #define LOCK_FOR_USER 0x01
70 #define UNLOCK_FOR_STACK 0x02
73 #define LOCK_FOR_STACK 0x02
74 #define UNLOCK_FOR_USER 0x01
79 APP_WORD USER_InitSharedMemory(APP_LPVOID lpdata , APP_DWORD dwLen );
80 APP_WORD USER_ExitSharedMemory(APP_VOID);
81 APP_WORD USER_ReadSharedMemory(APP_DWORD dwOffset , APP_WORD wNb , APP_LPBYTE lpData);
82 APP_WORD USER_WriteSharedMemory(APP_DWORD dwOffset,APP_WORD wNb,APP_LPBYTE lpData);