annotate src/w32inevt.h @ 18647:72b27986e71d

(Finsert_file_contents): If enable-multibyte-characters is nil, decode character code by emacs-mule. (Fwrite_region): Use buffer-file-coding-system for encoding if enable-multibyte-characters is nil.
author Kenichi Handa <handa@m17n.org>
date Mon, 07 Jul 1997 00:59:44 +0000
parents c686d4f3728a
children 56104212fe5c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16886
c686d4f3728a Change all uses of win95, winnt, and win32 into Windows 95, Windows
Geoff Voelker <voelker@cs.washington.edu>
parents: 16588
diff changeset
1 /* Input routines for GNU Emacs on the Microsoft W32 API.
11387
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
2 Copyright (C) 1995 Free Software Foundation, Inc.
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
3
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
4 This file is part of GNU Emacs.
11387
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
5
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
7 it under the terms of the GNU General Public License as published by
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
9 any later version.
11387
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
10
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
14 GNU General Public License for more details.
11387
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
15
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
16 You should have received a copy of the GNU General Public License
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 11387
diff changeset
19 Boston, MA 02111-1307, USA. */
11387
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
20
11378
9020ac98e9d3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 #ifndef __NTINEVT_H__
9020ac98e9d3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22 #define __NTINEVT_H__
9020ac98e9d3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23
16588
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 14186
diff changeset
24 int w32_console_read_socket (/* int sd, struct input_event *bufp, int numchars,
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 14186
diff changeset
25 int waitp, int expected */);
481b7874a1e9 Change identifiers of the form win32* to w32*.
Geoff Voelker <voelker@cs.washington.edu>
parents: 14186
diff changeset
26 void w32_mouse_position (/* FRAME_PTR *f,
11387
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
27 Lisp_Object *bar_window,
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
28 enum scroll_bar_part *part,
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
29 Lisp_Object *x,
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
30 Lisp_Object *y,
b2d5260a5da0 Fixed function prototypes.
Karl Heuer <kwzh@gnu.org>
parents: 11378
diff changeset
31 unsigned long *time */);
11378
9020ac98e9d3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32
9020ac98e9d3 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 #endif