gphoto2.ds: Set supported groups.
[wine.git] / dlls / msvcirt / msvcirt.h
blob5b59b7862a381fb2de8a100ad0627c72161cdf12
1 /*
2 * Copyright 2015 Iván Matellanes
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include "stdlib.h"
20 #include "windef.h"
21 #include "cxx.h"
23 typedef LONG streamoff;
24 typedef LONG streampos;
25 typedef int filedesc;
26 typedef void* (__cdecl *allocFunction)(LONG);
27 typedef void (__cdecl *freeFunction)(void*);
29 typedef enum {
30 IOSTATE_goodbit = 0x0,
31 IOSTATE_eofbit = 0x1,
32 IOSTATE_failbit = 0x2,
33 IOSTATE_badbit = 0x4
34 } ios_io_state;
36 typedef enum {
37 OPENMODE_in = 0x1,
38 OPENMODE_out = 0x2,
39 OPENMODE_ate = 0x4,
40 OPENMODE_app = 0x8,
41 OPENMODE_trunc = 0x10,
42 OPENMODE_nocreate = 0x20,
43 OPENMODE_noreplace = 0x40,
44 OPENMODE_binary = 0x80
45 } ios_open_mode;
47 typedef enum {
48 SEEKDIR_beg = 0,
49 SEEKDIR_cur = 1,
50 SEEKDIR_end = 2
51 } ios_seek_dir;
53 typedef enum {
54 FLAGS_skipws = 0x1,
55 FLAGS_left = 0x2,
56 FLAGS_right = 0x4,
57 FLAGS_internal = 0x8,
58 FLAGS_dec = 0x10,
59 FLAGS_oct = 0x20,
60 FLAGS_hex = 0x40,
61 FLAGS_showbase = 0x80,
62 FLAGS_showpoint = 0x100,
63 FLAGS_uppercase = 0x200,
64 FLAGS_showpos = 0x400,
65 FLAGS_scientific = 0x800,
66 FLAGS_fixed = 0x1000,
67 FLAGS_unitbuf = 0x2000,
68 FLAGS_stdio = 0x4000
69 } ios_flags;
71 extern void* (__cdecl *MSVCRT_operator_new)(SIZE_T);
72 extern void (__cdecl *MSVCRT_operator_delete)(void*);
74 void init_exception(void*);