comparison src/event-msw.c @ 251:677f6a0ee643 r20-5b24

Import from CVS: tag r20-5b24
author cvs
date Mon, 13 Aug 2007 10:19:59 +0200
parents 83b3d10dcba9
children 11cf20601dec
comparison
equal deleted inserted replaced
250:f385a461c9aa 251:677f6a0ee643
53 #include "syswait.h" 53 #include "syswait.h"
54 #include "systime.h" 54 #include "systime.h"
55 55
56 #include "events-mod.h" 56 #include "events-mod.h"
57 57
58 #ifdef BROKEN_CYGWIN
59 int WINAPI DdeCmpStringHandles (HSZ, HSZ);
60 HDDEDATA WINAPI DdeCreateDataHandle (DWORD, LPBYTE, DWORD, DWORD, HSZ,
61 UINT, UINT);
62 #endif
63
58 #ifdef HAVE_MENUBARS 64 #ifdef HAVE_MENUBARS
59 #define ADJR_MENUFLAG TRUE 65 #define ADJR_MENUFLAG TRUE
60 #else 66 #else
61 #define ADJR_MENUFLAG FALSE 67 #define ADJR_MENUFLAG FALSE
62 #endif 68 #endif
79 static Lisp_Object mswindows_key_to_emacs_keysym(int mswindows_key, int mods); 85 static Lisp_Object mswindows_key_to_emacs_keysym(int mswindows_key, int mods);
80 static int mswindows_modifier_state (BYTE* keymap, int has_AltGr); 86 static int mswindows_modifier_state (BYTE* keymap, int has_AltGr);
81 static void mswindows_set_chord_timer (HWND hwnd); 87 static void mswindows_set_chord_timer (HWND hwnd);
82 static int mswindows_button2_near_enough (POINTS p1, POINTS p2); 88 static int mswindows_button2_near_enough (POINTS p1, POINTS p2);
83 static int mswindows_current_layout_has_AltGr (void); 89 static int mswindows_current_layout_has_AltGr (void);
84
85 90
86 static struct event_stream *mswindows_event_stream; 91 static struct event_stream *mswindows_event_stream;
87 92
88 /* 93 /*
89 * Two separate queues, for efficiency, one (_u_) for user events, and 94 * Two separate queues, for efficiency, one (_u_) for user events, and
659 664
660 return (HDDEDATA) DDE_FACK; 665 return (HDDEDATA) DDE_FACK;
661 } 666 }
662 DdeFreeDataHandle (hdata); 667 DdeFreeDataHandle (hdata);
663 return (HDDEDATA) DDE_FNOTPROCESSED; 668 return (HDDEDATA) DDE_FNOTPROCESSED;
664
665 default: 669 default:
666 return (HDDEDATA) NULL; 670 return (HDDEDATA) NULL;
667 } 671 }
668 672
669 } 673 }