ole32: Don't pump all messages in CoWaitForMultipleHandles in threads without apartme...
[wine.git] / dlls / msvcirt / msvcirt.h
blob5ec369bef993da8d543fdf0868d35f7a1c77ad67
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;
26 typedef enum {
27 IOSTATE_goodbit = 0x0,
28 IOSTATE_eofbit = 0x1,
29 IOSTATE_failbit = 0x2,
30 IOSTATE_badbit = 0x4
31 } ios_io_state;
33 typedef enum {
34 SEEKDIR_beg = 0,
35 SEEKDIR_cur = 1,
36 SEEKDIR_end = 2
37 } ios_seek_dir;
39 typedef enum {
40 FLAGS_skipws = 0x1,
41 FLAGS_left = 0x2,
42 FLAGS_right = 0x4,
43 FLAGS_internal = 0x8,
44 FLAGS_dec = 0x10,
45 FLAGS_oct = 0x20,
46 FLAGS_hex = 0x40,
47 FLAGS_showbase = 0x80,
48 FLAGS_showpoint = 0x100,
49 FLAGS_uppercase = 0x200,
50 FLAGS_showpos = 0x400,
51 FLAGS_scientific = 0x800,
52 FLAGS_fixed = 0x1000,
53 FLAGS_unitbuf = 0x2000,
54 FLAGS_stdio = 0x4000
55 } ios_flags;
57 extern void* (__cdecl *MSVCRT_operator_new)(SIZE_T);
58 extern void (__cdecl *MSVCRT_operator_delete)(void*);
60 void init_exception(void*);