ntddft.h 1009 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. #ifndef _NTDDFT_
  19. #define _NTDDFT_
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. #define FTTYPE ((ULONG)'f')
  24. #define FT_SECONDARY_READ CTL_CODE(FTTYPE, 4, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
  25. #define FT_PRIMARY_READ CTL_CODE(FTTYPE, 5, METHOD_OUT_DIRECT, FILE_READ_ACCESS)
  26. #define FT_BALANCED_READ_MODE CTL_CODE(FTTYPE, 6, METHOD_NEITHER, FILE_ANY_ACCESS)
  27. #define FT_SYNC_REDUNDANT_COPY CTL_CODE(FTTYPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* _NTDDFT_ */