Last change
on this file since 22012 was 21916, checked in by dmik, 14 years ago |
Merge branch gcc-kmk to trunk.
|
-
Property svn:eol-style
set to
native
|
File size:
1.6 KB
|
Line | |
---|
1 | ;; @file
|
---|
2 | ; Global DLL data for USER32.DLL.
|
---|
3 | ;
|
---|
4 | ; Note: sizes of data variables must be kept in sync with their C declarations!
|
---|
5 | ;
|
---|
6 |
|
---|
7 | .386
|
---|
8 | NAME globaldata
|
---|
9 |
|
---|
10 | SHARED_DGROUP GROUP _GLOBALDATA
|
---|
11 |
|
---|
12 | _GLOBALDATA SEGMENT DWORD PUBLIC USE32 'DATA'
|
---|
13 |
|
---|
14 | ;
|
---|
15 | ; win32wndhandle.cpp:
|
---|
16 | ;
|
---|
17 | PUBLIC _WindowHandleTable
|
---|
18 | PUBLIC _globalwhandlecritsect
|
---|
19 | PUBLIC _lastIndex
|
---|
20 |
|
---|
21 | MAX_WINDOW_HANDLES = 1024
|
---|
22 |
|
---|
23 | ; extern ULONG WindowHandleTable[MAX_WINDOW_HANDLES]; // = {0}
|
---|
24 | _WindowHandleTable DD MAX_WINDOW_HANDLES DUP (0)
|
---|
25 | ; extern CRITICAL_SECTION_OS2 globalwhandlecritsect; // = {0}
|
---|
26 | _globalwhandlecritsect DD 6 DUP (0)
|
---|
27 | ; extern ULONG lastIndex; // = 0
|
---|
28 | _lastIndex DD 0
|
---|
29 |
|
---|
30 | ;
|
---|
31 | ; hook.cpp:
|
---|
32 | ;
|
---|
33 | IFDEF GLOBAL_HOOKS
|
---|
34 |
|
---|
35 | PUBLIC _HOOK_systemHooks
|
---|
36 |
|
---|
37 | WH_MIN = -1
|
---|
38 | WH_MAX = 14
|
---|
39 | WH_NB_HOOKS = (WH_MAX-WH_MIN+1)
|
---|
40 |
|
---|
41 | ; extern HANDLE HOOK_systemHooks[WH_NB_HOOKS]; // = { 0 }
|
---|
42 | _HOOK_systemHooks DD WH_NB_HOOKS DUP (0)
|
---|
43 |
|
---|
44 | ENDIF
|
---|
45 |
|
---|
46 | ;
|
---|
47 | ; caret.cpp:
|
---|
48 | ;
|
---|
49 | PUBLIC _hwndCaret
|
---|
50 | PUBLIC _hbmCaret
|
---|
51 | PUBLIC _CaretWidth, _CaretHeight
|
---|
52 | PUBLIC _CaretPosX, _CaretPosY
|
---|
53 | PUBLIC _CaretIsVisible
|
---|
54 |
|
---|
55 | ; extern HWND hwndCaret; // = 0
|
---|
56 | _hwndCaret DD 0
|
---|
57 | ; extern HBITMAP hbmCaret; // = 0
|
---|
58 | _hbmCaret DD 0
|
---|
59 | ; extern int CaretWidth, CaretHeight; // = 0
|
---|
60 | _CaretWidth DD 0
|
---|
61 | _CaretHeight DD 0
|
---|
62 | ; extern int CaretPosX, CaretPosY; // = 0
|
---|
63 | _CaretPosX DD 0
|
---|
64 | _CaretPosY DD 0
|
---|
65 | ; extern INT CaretIsVisible; // =0, visible if > 0
|
---|
66 | _CaretIsVisible DD 0
|
---|
67 |
|
---|
68 | _GLOBALDATA ENDS
|
---|
69 |
|
---|
70 | END
|
---|
71 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.