summaryrefslogtreecommitdiffstats
path: root/private/crt32/h/share.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/h/share.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/crt32/h/share.h')
-rw-r--r--private/crt32/h/share.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/private/crt32/h/share.h b/private/crt32/h/share.h
new file mode 100644
index 000000000..346ec3c5a
--- /dev/null
+++ b/private/crt32/h/share.h
@@ -0,0 +1,35 @@
+/***
+*share.h - defines file sharing modes for sopen
+*
+* Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* This file defines the file sharing modes for sopen().
+*
+*Revision History:
+* 08-15-89 GJF Fixed copyright
+* 10-30-89 GJF Fixed copyright (again)
+* 03-01-90 GJF Added #ifndef _INC_SHARE stuff
+* 01-18-91 GJF ANSI naming
+* 08-11-92 GJF Removed SH_COMPAT (no such mode except in DOS).
+* 02-23-93 SKS Update copyright to 1993
+*
+****/
+
+#ifndef _INC_SHARE
+
+#define _SH_DENYRW 0x10 /* deny read/write mode */
+#define _SH_DENYWR 0x20 /* deny write mode */
+#define _SH_DENYRD 0x30 /* deny read mode */
+#define _SH_DENYNO 0x40 /* deny none mode */
+
+#if !__STDC__
+/* Non-ANSI names for compatibility */
+#define SH_DENYRW _SH_DENYRW
+#define SH_DENYWR _SH_DENYWR
+#define SH_DENYRD _SH_DENYRD
+#define SH_DENYNO _SH_DENYNO
+#endif
+
+#define _INC_SHARE
+#endif /* _INC_SHARE */