1 | /*
|
---|
2 | * share.h
|
---|
3 | *
|
---|
4 | * Constants for file sharing functions.
|
---|
5 | *
|
---|
6 | * Derived from the Mingw32 header written by Colin Peters.
|
---|
7 | * Modified for Wine use by Bill Medland
|
---|
8 | * This file is in the public domain.
|
---|
9 | *
|
---|
10 | * Original header contained the following
|
---|
11 | *
|
---|
12 | * THIS SOFTWARE IS NOT COPYRIGHTED
|
---|
13 | *
|
---|
14 | * This source code is offered for use in the public domain. You may
|
---|
15 | * use, modify or distribute it freely.
|
---|
16 | *
|
---|
17 | * This code is distributed in the hope that it will be useful but
|
---|
18 | * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
---|
19 | * DISCLAIMED. This includes but is not limited to warranties of
|
---|
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
21 | *
|
---|
22 | */
|
---|
23 |
|
---|
24 | #ifndef __WINE_SHARE_H
|
---|
25 | #define __WINE_SHARE_H
|
---|
26 | #ifndef __WINE_USE_MSVCRT
|
---|
27 | #define __WINE_USE_MSVCRT
|
---|
28 | #endif
|
---|
29 |
|
---|
30 | #define SH_COMPAT 0x00 /* Compatibility */
|
---|
31 | #define SH_DENYRW 0x10 /* Deny read/write */
|
---|
32 | #define SH_DENYWR 0x20 /* Deny write */
|
---|
33 | #define SH_DENYRD 0x30 /* Deny read */
|
---|
34 | #define SH_DENYNO 0x40 /* Deny nothing */
|
---|
35 |
|
---|
36 | #define _SH_COMPAT SH_COMPAT
|
---|
37 | #define _SH_DENYRW SH_DENYRW
|
---|
38 | #define _SH_DENYWR SH_DENYWR
|
---|
39 | #define _SH_DENYRD SH_DENYRD
|
---|
40 | #define _SH_DENYNO SH_DENYNO
|
---|
41 |
|
---|
42 | #endif /* __WINE_SHARE_H_ */
|
---|