2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
12 #pragma pack(push,_CRT_PACKING)
18 #ifndef _DISKFREE_T_DEFINED
19 #define _DISKFREE_T_DEFINED
21 unsigned total_clusters
;
22 unsigned avail_clusters
;
23 unsigned sectors_per_cluster
;
24 unsigned bytes_per_sector
;
34 _Out_writes_opt_(_SizeInBytes
) char *_DstBuf
,
35 _In_
int _SizeInBytes
);
44 _Out_writes_opt_(_SizeInBytes
) char *_DstBuf
,
45 _In_
int _SizeInBytes
);
53 _Out_writes_opt_(_SizeInBytes
) char *_DstBuf
,
54 _In_
int _SizeInBytes
);
61 _In_z_
const char *_Path
);
68 _In_z_
const char *_Path
);
75 _In_z_
const char *_Path
);
96 #ifndef _GETDISKFREE_DEFINED
97 #define _GETDISKFREE_DEFINED
103 _In_
unsigned _Drive
,
104 _Out_
struct _diskfree_t
*_DiskFree
);
107 #ifndef _WDIRECT_DEFINED
108 #define _WDIRECT_DEFINED
116 _Out_writes_opt_(_SizeInWords
) wchar_t *_DstBuf
,
117 _In_
int _SizeInWords
);
126 _Out_writes_opt_(_SizeInWords
) wchar_t *_DstBuf
,
127 _In_
int _SizeInWords
);
135 _Out_writes_opt_(_SizeInWords
) wchar_t *_DstBuf
,
136 _In_
int _SizeInWords
);
143 _In_z_
const wchar_t *_Path
);
150 _In_z_
const wchar_t *_Path
);
157 _In_z_
const wchar_t *_Path
);
159 #endif /* _WDIRECT_DEFINED */
163 #define diskfree_t _diskfree_t
171 _Out_writes_opt_(_SizeInBytes
) char *_DstBuf
,
172 _In_
int _SizeInBytes
);
179 _In_z_
const char *_Path
);
186 _In_z_
const char *_Path
);
193 _In_z_
const char *_Path
);
195 #endif /* NO_OLDNAMES */