Leaked source code of windows server 2003
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.

15 lines
554 B

  1. /***
  2. *share.h - defines file sharing modes for sopen
  3. *
  4. * Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This file defines the file sharing modes for sopen().
  8. *
  9. *******************************************************************************/
  10. #define SH_COMPAT 0x00 /* compatibility mode */
  11. #define SH_DENYRW 0x10 /* deny read/write mode */
  12. #define SH_DENYWR 0x20 /* deny write mode */
  13. #define SH_DENYRD 0x30 /* deny read mode */
  14. #define SH_DENYNO 0x40 /* deny none mode */