annotate src/console-msw.h @ 268:6ced69ccd85f

Added tag r20-5b32 for changeset 966663fcf606
author cvs
date Mon, 13 Aug 2007 10:26:31 +0200
parents 966663fcf606
children b2472a1930f2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
1 /* Define mswindows-specific console, device, and frame object for XEmacs.
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
2 Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
3 Copyright (C) 1994, 1995 Board of Trustees, University of Illinois.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
4
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
5 This file is part of XEmacs.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
6
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
7 XEmacs is free software; you can redistribute it and/or modify it
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
9 Free Software Foundation; either version 2, or (at your option) any
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
10 later version.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
11
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
15 for more details.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
16
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
18 along with XEmacs; see the file COPYING. If not, write to
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
20 Boston, MA 02111-1307, USA. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
21
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
22 /* Synched up with: Not in FSF. */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
23
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
24
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
25 /* Authorship:
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
26
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
27 Ultimately based on FSF, then later on JWZ work for Lemacs.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
28 Rewritten over time by Ben Wing and Chuck Thompson.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
29 Rewritten for mswindows by Jonathan Harris, November 1997 for 20.4.
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
30 */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
31
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
32 #ifndef _XEMACS_CONSOLE_MSW_H_
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
33 #define _XEMACS_CONSOLE_MSW_H_
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
34
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
35 #include "console.h"
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
36 #ifdef CONST /* I suspect this is safe */
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
37 #undef CONST
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
38 #endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
39 #include "windows.h"
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
40 #include "ddeml.h" /* DDE management library */
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
41 #ifndef __CYGWIN32__
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
42 #include "shellapi.h" /* FileManager/Explorer drag and drop */
251
677f6a0ee643 Import from CVS: tag r20-5b24
cvs
parents: 249
diff changeset
43 #endif
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
44
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
45 /*
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
46 * XXX FIXME: The following X modifier defs in events-mod.h clash with win32
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
47 * hotkey defs in winuser.h. For the moment lose the win32 versions.
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
48 * Maybe we should rename all of MOD_* to something that doesn't clash.
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
49 */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
50 #ifdef MOD_CONTROL
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
51 # undef MOD_CONTROL
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
52 #endif
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
53 #ifdef MOD_ALT
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
54 # undef MOD_ALT
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
55 #endif
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
56 #ifdef MOD_SHIFT
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
57 # undef MOD_SHIFT
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
58 #endif
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
59
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
60
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
61 /* The name of the main window class */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
62 #define XEMACS_CLASS "XEmacs"
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
63
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
64
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
65 /*
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
66 * Console
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
67 */
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
68
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
69 DECLARE_CONSOLE_TYPE (mswindows);
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
70
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
71 struct mswindows_console
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
72 {
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
73 int infd, outfd;
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
74 };
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
75
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
76
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
77 /*
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
78 * Device
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
79 */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
80
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
81 struct mswindows_device
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
82 {
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
83 int logpixelsx, logpixelsy;
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
84 int planes, cells;
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
85 int horzres, vertres; /* Size in pixels */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
86 int horzsize, vertsize; /* Size in mm */
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents: 251
diff changeset
87 int bitspixel;
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
88 };
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
89
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
90 #define DEVICE_MSWINDOWS_DATA(d) DEVICE_TYPE_DATA (d, mswindows)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
91 #define DEVICE_MSWINDOWS_LOGPIXELSX(d) (DEVICE_MSWINDOWS_DATA (d)->logpixelsx)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
92 #define DEVICE_MSWINDOWS_LOGPIXELSY(d) (DEVICE_MSWINDOWS_DATA (d)->logpixelsy)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
93 #define DEVICE_MSWINDOWS_PLANES(d) (DEVICE_MSWINDOWS_DATA (d)->planes)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
94 #define DEVICE_MSWINDOWS_CELLS(d) (DEVICE_MSWINDOWS_DATA (d)->cells)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
95 #define DEVICE_MSWINDOWS_HORZRES(d) (DEVICE_MSWINDOWS_DATA (d)->horzres)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
96 #define DEVICE_MSWINDOWS_VERTRES(d) (DEVICE_MSWINDOWS_DATA (d)->vertres)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
97 #define DEVICE_MSWINDOWS_HORZSIZE(d) (DEVICE_MSWINDOWS_DATA (d)->horzsize)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
98 #define DEVICE_MSWINDOWS_VERTSIZE(d) (DEVICE_MSWINDOWS_DATA (d)->vertsize)
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents: 251
diff changeset
99 #define DEVICE_MSWINDOWS_BITSPIXEL(d) (DEVICE_MSWINDOWS_DATA (d)->bitspixel)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
100
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
101
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
102 /*
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
103 * Frame
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
104 */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
105
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
106 struct mswindows_frame
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
107 {
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
108 /* win32 window handle */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
109 HWND hwnd;
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
110
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
111 /* DC for this win32 window */
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
112 HDC hdc;
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
113
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
114 /* Time of last click event, for button 2 emul */
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
115 DWORD last_click_time;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
116
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
117 /* Coordinates of last click event, screen-relative */
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
118 POINTS last_click_point;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
119
233
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
120 /* Menu hashtable. See menubar-msw.c */
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
121 Lisp_Object menu_hashtable;
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
122
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
123 /* Menu checksum. See menubar-msw.c */
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
124 unsigned int menu_checksum;
231
557eaa0339bf Import from CVS: tag r20-5b14
cvs
parents: 223
diff changeset
125
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
126 /* Misc flags */
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
127 int button2_need_lbutton : 1;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
128 int button2_need_rbutton : 1;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
129 int button2_is_down : 1;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
130 int ignore_next_lbutton_up : 1;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
131 int ignore_next_rbutton_up : 1;
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 213
diff changeset
132 int sizing : 1;
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
133 };
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
134
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
135 #define FRAME_MSWINDOWS_DATA(f) FRAME_TYPE_DATA (f, mswindows)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
136
233
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
137 #define FRAME_MSWINDOWS_HANDLE(f) (FRAME_MSWINDOWS_DATA (f)->hwnd)
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
138 #define FRAME_MSWINDOWS_DC(f) (FRAME_MSWINDOWS_DATA (f)->hdc)
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
139 #define FRAME_MSWINDOWS_MENU_HASHTABLE(f) (FRAME_MSWINDOWS_DATA (f)->menu_hashtable)
52952cbfc5b5 Import from CVS: tag r20-5b15
cvs
parents: 231
diff changeset
140 #define FRAME_MSWINDOWS_MENU_CHECKSUM(f) (FRAME_MSWINDOWS_DATA (f)->menu_checksum)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
141
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
142 /* win32 window LONG indices */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
143 #define XWL_FRAMEOBJ 0
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
144 #define XWL_COUNT 1 /* Number of LONGs that we use */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
145 #define MSWINDOWS_WINDOW_EXTRA_BYTES (XWL_COUNT*4)
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
146
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
147
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
148 /*
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
149 * Events
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
150 */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
151
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
152 /* win32 messages / magic event types */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
153 #define EVENT_MSWINDOWS_MAGIC_TYPE(e) \
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
154 ((e)->event.magic.underlying_mswindows_event)
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
155 #define XM_BUMPQUEUE (WM_USER + 101)
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
156 #define XM_MAPFRAME (WM_USER + 102)
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
157 #define XM_UNMAPFRAME (WM_USER + 103)
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
158
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
159
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
160 /*
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
161 * Random globals
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
162 */
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
163
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
164 /* win32 "Windows" procedure */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
165 LRESULT WINAPI mswindows_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam,
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
166 LPARAM lParam);
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
167
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
168 void mswindows_redraw_exposed_area (struct frame *f, int x, int y,
249
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
169 int width, int height);
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
170
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
171 /* win32 DDE management library */
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
172 #define MSWINDOWS_DDE_ITEM_OPEN "Open"
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
173 extern DWORD mswindows_dde_mlid;
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
174 extern HSZ mswindows_dde_service;
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
175 extern HSZ mswindows_dde_topic_system;
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
176 extern HSZ mswindows_dde_item_open;
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
177 HDDEDATA CALLBACK mswindows_dde_callback (UINT uType, UINT uFmt, HCONV hconv,
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
178 HSZ hszTopic, HSZ hszItem, HDDEDATA hdata,
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
179 DWORD dwData1, DWORD dwData2);
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
180
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
181 void mswindows_enqueue_dispatch_event (Lisp_Object event);
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
182 void mswindows_enqueue_magic_event (HWND hwnd, UINT message);
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
183 Lisp_Object mswindows_cancel_dispatch_event (struct Lisp_Event* event);
83b3d10dcba9 Import from CVS: tag r20-5b23
cvs
parents: 233
diff changeset
184 Lisp_Object mswindows_pump_outstanding_events (void);
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
185
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents:
diff changeset
186 #endif /* _XEMACS_CONSOLE_MSW_H_ */