home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c081_11 / 2.ddi / INCLUDE.ZIP / SHARE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-13  |  554 b   |  29 lines

  1. /*  share.h
  2.  
  3.     File sharing mode for use with sopen.
  4.     See DOS function 3Dh for definition.
  5.  
  6.         Copyright (c) Borland International 1987,1988,1990,1991
  7.     All Rights Reserved.
  8. */
  9.  
  10. #if !defined( __SHARE_H )
  11. #define __SHARE_H
  12.  
  13. #if __STDC__
  14. #define _Cdecl
  15. #else
  16. #define _Cdecl  cdecl
  17. #endif
  18.  
  19. #define SH_COMPAT   0x0000
  20. #define SH_DENYRW   0x0010
  21. #define SH_DENYWR   0x0020
  22. #define SH_DENYRD   0x0030
  23. #define SH_DENYNONE 0x0040
  24.  
  25. #define SH_DENYNO   SH_DENYNONE /* MS documentation uses both */
  26.  
  27. #endif  /* __SHARE_H */
  28.  
  29.