gdi32: Use ntgdi names for PtVisible and RectVisible.
[wine.git] / include / msvcrt / corecrt_wio.h
blobce61d24dcd2ef20673d12595a2dafb76b4ed829d
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the Wine project.
4 */
6 #ifndef _WIO_DEFINED
7 #define _WIO_DEFINED
9 #include <corecrt.h>
11 #include <pshpack8.h>
13 typedef __msvcrt_ulong _fsize_t;
15 #if defined(_USE_32BIT_TIME_T)
16 # define _wfinddata_t _wfinddata32_t
17 # define _wfinddatai64_t _wfinddata32i64_t
18 #else
19 # define _wfinddata_t _wfinddata64i32_t
20 # define _wfinddatai64_t _wfinddata64_t
21 #endif
23 struct _wfinddata32_t {
24 unsigned attrib;
25 __time32_t time_create;
26 __time32_t time_access;
27 __time32_t time_write;
28 _fsize_t size;
29 wchar_t name[260];
32 struct _wfinddata32i64_t {
33 unsigned attrib;
34 __time32_t time_create;
35 __time32_t time_access;
36 __time32_t time_write;
37 __int64 DECLSPEC_ALIGN(8) size;
38 wchar_t name[260];
41 struct _wfinddata64i32_t {
42 unsigned attrib;
43 __time64_t time_create;
44 __time64_t time_access;
45 __time64_t time_write;
46 _fsize_t size;
47 wchar_t name[260];
50 struct _wfinddata64_t {
51 unsigned attrib;
52 __time64_t time_create;
53 __time64_t time_access;
54 __time64_t time_write;
55 __int64 DECLSPEC_ALIGN(8) size;
56 wchar_t name[260];
59 #ifdef _UCRT
60 # ifdef _USE_32BIT_TIME_T
61 # define _wfindfirst _wfindfirst32
62 # define _wfindfirsti64 _wfindfirst32i64
63 # define _wfindnext _wfindnext32
64 # define _wfindnexti64 _wfindnext32i64
65 # else
66 # define _wfindfirst _wfindfirst64i32
67 # define _wfindfirsti64 _wfindfirst64
68 # define _wfindnext _wfindnext64i32
69 # define _wfindnexti64 _wfindnext64
70 # endif
71 #else /* _UCRT */
72 # ifdef _USE_32BIT_TIME_T
73 # define _wfindfirst32 _wfindfirst
74 # define _wfindfirst32i64 _wfindfirsti64
75 # define _wfindnext32 _wfindnext
76 # define _wfindnext32i64 _wfindnexti64
77 # else
78 # define _wfindfirst64i32 _wfindfirst
79 # define _wfindfirst64 _wfindfirsti64
80 # define _wfindnext64i32 _wfindnext
81 # define _wfindnext64 _wfindnexti64
82 # endif
83 #endif
85 #ifdef __cplusplus
86 extern "C" {
87 #endif
89 _ACRTIMP int __cdecl _waccess(const wchar_t*,int);
90 _ACRTIMP int __cdecl _wchmod(const wchar_t*,int);
91 _ACRTIMP int __cdecl _wcreat(const wchar_t*,int);
92 _ACRTIMP intptr_t __cdecl _wfindfirst32(const wchar_t*,struct _wfinddata32_t*);
93 _ACRTIMP intptr_t __cdecl _wfindfirst32i64(const wchar_t*, struct _wfinddata32i64_t*);
94 _ACRTIMP intptr_t __cdecl _wfindfirst64(const wchar_t*,struct _wfinddata64_t*);
95 _ACRTIMP intptr_t __cdecl _wfindfirst64i32(const wchar_t*, struct _wfinddata64i32_t*);
96 _ACRTIMP int __cdecl _wfindnext32(intptr_t,struct _wfinddata32_t*);
97 _ACRTIMP int __cdecl _wfindnext32i64(intptr_t,struct _wfinddata32i64_t*);
98 _ACRTIMP int __cdecl _wfindnext64(intptr_t,struct _wfinddata64_t*);
99 _ACRTIMP int __cdecl _wfindnext64i32(intptr_t,struct _wfinddata64i32_t*);
100 _ACRTIMP wchar_t* __cdecl _wmktemp(wchar_t*);
101 _ACRTIMP int WINAPIV _wopen(const wchar_t*,int,...);
102 _ACRTIMP int __cdecl _wrename(const wchar_t*,const wchar_t*);
103 _ACRTIMP int WINAPIV _wsopen(const wchar_t*,int,int,...);
104 _ACRTIMP int __cdecl _wunlink(const wchar_t*);
106 #ifdef __cplusplus
108 #endif
110 #include <poppack.h>
112 #endif /* _WIO_DEFINED */