Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
631 B

  1. /***
  2. *share.h - defines file sharing modes for sopen
  3. *
  4. * Copyright (c) 1985-1994, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This file defines the file sharing modes for sopen().
  8. *
  9. ****/
  10. #ifndef _INC_SHARE
  11. #define _INC_SHARE
  12. #define _SH_DENYRW 0x10 /* deny read/write mode */
  13. #define _SH_DENYWR 0x20 /* deny write mode */
  14. #define _SH_DENYRD 0x30 /* deny read mode */
  15. #define _SH_DENYNO 0x40 /* deny none mode */
  16. #if !__STDC__
  17. /* Non-ANSI names for compatibility */
  18. #define SH_DENYRW _SH_DENYRW
  19. #define SH_DENYWR _SH_DENYWR
  20. #define SH_DENYRD _SH_DENYRD
  21. #define SH_DENYNO _SH_DENYNO
  22. #endif
  23. #endif /* _INC_SHARE */