/[emacs]/emacs/src/w32fns.c
ViewVC logotype

Diff of /emacs/src/w32fns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.218 by jasonr, Sun Jul 6 18:42:55 2003 UTC revision 1.219 by jasonr, Sun Jul 6 21:58:12 2003 UTC
# Line 257  static unsigned mouse_move_timer = 0; Line 257  static unsigned mouse_move_timer = 0;
257  /* Window that is tracking the mouse.  */  /* Window that is tracking the mouse.  */
258  static HWND track_mouse_window;  static HWND track_mouse_window;
259    
260  typedef BOOL (WINAPI * TrackMouseEvent_Proc) (  typedef BOOL (WINAPI * TrackMouseEvent_Proc)
261      IN OUT LPTRACKMOUSEEVENT lpEventTrack    (IN OUT LPTRACKMOUSEEVENT lpEventTrack);
     );  
262    
263  TrackMouseEvent_Proc track_mouse_event_fn=NULL;  TrackMouseEvent_Proc track_mouse_event_fn = NULL;
264    ClipboardSequence_Proc clipboard_sequence_fn = NULL;
265    
266  /* W95 mousewheel handler */  /* W95 mousewheel handler */
267  unsigned int msh_mousewheel = 0;  unsigned int msh_mousewheel = 0;
# Line 14483  versions of Windows) characters.  */); Line 14483  versions of Windows) characters.  */);
14483  void globals_of_w32fns ()  void globals_of_w32fns ()
14484  {  {
14485    HMODULE user32_lib = GetModuleHandle ("user32.dll");    HMODULE user32_lib = GetModuleHandle ("user32.dll");
14486          /*    /*
14487                  TrackMouseEvent not available in all versions of Windows, so must load      TrackMouseEvent not available in all versions of Windows, so must load
14488                  it dynamically.  Do it once, here, instead of every time it is used.      it dynamically.  Do it once, here, instead of every time it is used.
14489    */    */
14490    track_mouse_event_fn = (TrackMouseEvent_Proc) GetProcAddress (user32_lib, "TrackMouseEvent");    track_mouse_event_fn = (TrackMouseEvent_Proc)
14491        GetProcAddress (user32_lib, "TrackMouseEvent");
14492      /* ditto for GetClipboardSequenceNumber.  */
14493      clipboard_sequence_fn = (ClipboardSequence_Proc)
14494        GetProcAddress (user32_lib, "GetClipboardSequenceNumber");
14495  }  }
14496    
14497  /* Initialize image types. Based on which libraries are available.  */  /* Initialize image types. Based on which libraries are available.  */

Legend:
Removed from v.1.218  
changed lines
  Added in v.1.219

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26