1 /***
2 *share.h - defines file sharing modes for sopen
3 *
4 *           Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 *           This file defines the file sharing modes for sopen().
8 *
9 *           [Public]
10 *
11 ****/
12
13 #if        _MSC_VER > 1000
14 #pragma once
15 #endif
16
17 #ifndef _INC_SHARE
18 #define _INC_SHARE
19
20 #if        !defined(_WIN32)
21 #error ERROR: Only Win32 target supported!
22 #endif
Lines 23 ... 28 are skipped.
29 #define _SH_SECURE          0x80      /* secure mode */
30
31 #if        !__STDC__
32 /* Non-ANSI names for compatibility */
33 #define SH_DENYRW _SH_DENYRW
34 #define SH_DENYWR _SH_DENYWR
35 #define SH_DENYRD _SH_DENYRD
36 #define SH_DENYNO _SH_DENYNO
37 #endif
38
39 #endif  /* _INC_SHARE */
40