ReactOS  0.4.15-dev-2703-g05fb0f1
ntddft.h
Go to the documentation of this file.
1 /*
2  * ntddft.h
3  *
4  * Contributors:
5  * Created by Alex Ionescu
6  *
7  * THIS SOFTWARE IS NOT COPYRIGHTED
8  *
9  * This source code is offered for use in the public domain. You may
10  * use, modify or distribute it freely.
11  *
12  * This code is distributed in the hope that it will be useful but
13  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
14  * DISCLAIMED. This includes but is not limited to warranties of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  *
17  */
18 
19 #ifndef _NTDDFT_
20 #define _NTDDFT_
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #define FTTYPE ((ULONG)'f')
28 
29 #define FT_SECONDARY_READ CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
30 #define FT_PRIMARY_READ CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
31 #define FT_BALANCED_READ_MODE CTL_CODE(FTTYPE, 6, METHOD_NEITHER, FILE_ANY_ACCESS)
32 #define FT_SYNC_REDUNDANT_COPY CTL_CODE(FTTYPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
33 
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif
38