Changeset 21834 for branches/gcc-kmk/src/user32/oslibkbd.cpp
- Timestamp:
- Nov 29, 2011, 7:09:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/user32/oslibkbd.cpp
r21811 r21834 26 26 #include "dbglocal.h" 27 27 28 extern "C" { 28 #ifdef __EMX__ 29 30 USHORT _THUNK_FUNCTION (Win16GetScanState) (); 31 USHORT APIENTRY WinGetScanState (HWND hwnd, USHORT vk) 32 { 33 return ((USHORT) 34 (_THUNK_PROLOG (4+2); 35 _THUNK_PASCAL_LONG ((ULONG) hwnd); 36 _THUNK_PASCAL_SHORT (vk); 37 _THUNK_PASCAL_CALL (Win16GetScanState))); 38 } 39 40 USHORT _THUNK_FUNCTION (Win16SetScanStateTable) (); 41 USHORT APIENTRY WinSetScanStateTable (HWND hwnd, PUCHAR pTable, BOOL bFlag) 42 { 43 return ((USHORT) 44 (_THUNK_PROLOG (4+4+4); 45 _THUNK_PASCAL_LONG ((ULONG) hwnd); 46 _THUNK_PASCAL_FLAT ((void *) pTable); 47 _THUNK_PASCAL_LONG (bFlag); 48 _THUNK_PASCAL_CALL (Win16SetScanStateTable))); 49 } 50 51 #else 29 52 30 53 SHORT APIENTRY16 WinGetScanState( HWND, USHORT ); 31 54 BOOL APIENTRY16 WinSetScanStateTable(HWND,unsigned char *,BOOL); 32 55 33 } // extern "C" 56 #endif 34 57 35 58 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.