Release 960114
[wine/gsoc-2012-control.git] / include / file.h
blob1c585a4eff4b9e283f396c3c63bdc20849a1d417
1 /*
2 * File handling declarations
4 * Copyright 1996 Alexandre Julliard
5 */
7 #ifndef __WINE_FILE_H
8 #define __WINE_FILE_H
10 #include "windows.h"
12 extern void FILE_SetDosError(void);
13 extern int FILE_GetUnixHandle( HFILE handle );
14 extern void FILE_CloseAllFiles( HANDLE hPDB );
15 extern int FILE_Open( LPCSTR path, int mode );
16 extern int FILE_Create( LPCSTR path, int mode, int unique );
17 extern int FILE_Stat( LPCSTR unixName, BYTE *pattr, DWORD *psize,
18 WORD *pdate, WORD *ptime );
19 extern int FILE_Fstat( HFILE hFile, BYTE *pattr, DWORD *psize,
20 WORD *pdate, WORD *ptime );
21 extern int FILE_Unlink( LPCSTR path );
22 extern int FILE_MakeDir( LPCSTR path );
23 extern int FILE_RemoveDir( LPCSTR path );
24 extern HFILE FILE_Dup( HFILE hFile );
25 extern HFILE FILE_Dup2( HFILE hFile1, HFILE hFile2 );
26 extern int FILE_OpenFile( LPCSTR name, OFSTRUCT *ofs, UINT mode );
27 extern INT _lcreat_uniq( LPCSTR path, INT attr );
29 #endif /* __WINE_FILE_H */