Changeset 21813 for branches/gcc-kmk/src
- Timestamp:
- Nov 15, 2011, 8:08:37 PM (14 years ago)
- Location:
- branches/gcc-kmk/src/user32
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/user32/Makefile.kmk
r21812 r21813 93 93 auxthread.cpp \ 94 94 initterm.cpp \ 95 globaldata.asm \ 95 96 user32rsrc.orc 96 97 -
branches/gcc-kmk/src/user32/caret.cpp
r21811 r21813 40 40 #endif 41 41 42 #pragma data_seg(_GLOBALDATA) 43 44 static HWND hwndCaret = 0; 45 static HBITMAP hbmCaret; 46 static int CaretWidth, CaretHeight; 47 static int CaretPosX, CaretPosY; 48 static INT CaretIsVisible; //visible if > 0 49 50 #pragma data_seg() 42 // 43 // Global DLL Data (keep it in sync with globaldata.asm!) 44 // 45 extern HWND hwndCaret; // = 0 46 extern HBITMAP hbmCaret; // = 0 47 extern int CaretWidth, CaretHeight; // = 0 48 extern int CaretPosX, CaretPosY; // = 0 49 extern INT CaretIsVisible; // =0, visible if > 0 51 50 52 51 extern "C" { -
branches/gcc-kmk/src/user32/hook.cpp
r21811 r21813 81 81 #define CHECK_MAGIC(a) ((a != 0) && (((HOOKDATA *)a)->magic == HOOK_MAGIC)) 82 82 83 //Global DLL Data84 83 //SvL: Disabled global system hooks for now 85 84 //#define GLOBAL_HOOKS 86 85 #ifdef GLOBAL_HOOKS 87 #pragma data_seg(_GLOBALDATA) 88 #endif 86 // 87 // Global DLL Data (keep it in sync with globaldata.asm!) 88 // 89 extern HANDLE HOOK_systemHooks[WH_NB_HOOKS]; // = { 0 } 90 static VMutex systemHookMutex(VMUTEX_SHARED, &hGlobalHookMutex); 91 #else 89 92 static HANDLE HOOK_systemHooks[WH_NB_HOOKS] = { 0 }; 90 #ifdef GLOBAL_HOOKS91 static VMutex systemHookMutex(VMUTEX_SHARED, &hGlobalHookMutex);92 #pragma data_seg()93 #else94 93 static CRITICAL_SECTION systemCritSect = {0}; 95 94 #endif -
branches/gcc-kmk/src/user32/user32.def
r21811 r21813 6 6 CODE SHARED LOADONCALL 7 7 8 SEGMENTS 9 _GLOBALDATA CLASS 'DATA' SHARED LOADONCALL READWRITE 8 ; 9 ; Segments are done with LDFLAGS (emxomfld limitation) 10 ; 11 ; SEGMENTS 12 ; 13 ; _GLOBALDATA CLASS 'DATA' SHARED LOADONCALL READWRITE 14 ; 10 15 11 16 IMPORTS -
branches/gcc-kmk/src/user32/user32dbg.def
r21811 r21813 6 6 CODE SHARED LOADONCALL 7 7 8 SEGMENTS 9 _GLOBALDATA CLASS 'DATA' SHARED LOADONCALL READWRITE 8 ; 9 ; Segments are done with LDFLAGS (emxomfld limitation) 10 ; 11 ; SEGMENTS 12 ; 13 ; _GLOBALDATA CLASS 'DATA' SHARED LOADONCALL READWRITE 14 ; 10 15 11 16 IMPORTS -
branches/gcc-kmk/src/user32/win32wndhandle.cpp
r21808 r21813 28 28 //****************************************************************************** 29 29 30 //Global DLL Data 31 #pragma data_seg(_GLOBALDATA) 32 ULONG WindowHandleTable[MAX_WINDOW_HANDLES] = {0}; 33 CRITICAL_SECTION_OS2 globalwhandlecritsect = {0}; 34 ULONG lastIndex = 0; 35 #pragma data_seg() 30 // 31 // Global DLL Data (keep it in sync with globaldata.asm!) 32 // 33 extern ULONG WindowHandleTable[MAX_WINDOW_HANDLES]; // = {0} 34 extern CRITICAL_SECTION_OS2 globalwhandlecritsect; // = {0} 35 extern ULONG lastIndex; // = 0 36 37 //****************************************************************************** 38 //****************************************************************************** 36 39 37 40 static const char *pszWndHandleSemName = WINHANDLE_CRITSECTION_NAME;
Note:
See TracChangeset
for help on using the changeset viewer.