source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ntddft.h

Last change on this file was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1009 bytes
RevLine 
[1166]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#ifdef __cplusplus
23extern "C" {
24#endif
25
26#define FTTYPE ((ULONG)'f')
27
28#define FT_SECONDARY_READ CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
29#define FT_PRIMARY_READ CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
30#define FT_BALANCED_READ_MODE CTL_CODE(FTTYPE, 6, METHOD_NEITHER, FILE_ANY_ACCESS)
31#define FT_SYNC_REDUNDANT_COPY CTL_CODE(FTTYPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* _NTDDFT_ */
38
Note: See TracBrowser for help on using the repository browser.