xref: /reactos/sdk/include/psdk/fileapi.h (revision c2c66aff)
1 /*
2  * Copyright 2013 André Hentschel
3  *
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.
8  *
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.
13  *
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
17  */
18 
19 #ifndef __WINE_FILEAPI_H
20 #define __WINE_FILEAPI_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 typedef struct _CREATEFILE2_EXTENDED_PARAMETERS {
27     DWORD dwSize;
28     DWORD dwFileAttributes;
29     DWORD dwFileFlags;
30     DWORD dwSecurityQosFlags;
31     LPSECURITY_ATTRIBUTES lpSecurityAttributes;
32     HANDLE hTemplateFile;
33 } CREATEFILE2_EXTENDED_PARAMETERS, *PCREATEFILE2_EXTENDED_PARAMETERS, *LPCREATEFILE2_EXTENDED_PARAMETERS;
34 
35 WINBASEAPI HANDLE WINAPI CreateFile2(LPCWSTR,DWORD,DWORD,DWORD,LPCREATEFILE2_EXTENDED_PARAMETERS);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif  /* __WINE_FILEAPI_H */
42