winspool: Fix a leak in DocumentPropertiesA (valgrind).
[wine/multimedia.git] / include / fileapi.h
blob02bbbd4d920587e7e570e04f02e6248ebddd92d5
1 /*
2 * Copyright 2013 André Hentschel
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 #ifndef __WINE_FILEAPI_H
20 #define __WINE_FILEAPI_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
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;
35 WINBASEAPI HANDLE WINAPI CreateFile2(LPCWSTR,DWORD,DWORD,DWORD,LPCREATEFILE2_EXTENDED_PARAMETERS);
37 #ifdef __cplusplus
39 #endif
41 #endif /* __WINE_FILEAPI_H */