Added share.h from Mingw32.
[wine/wine-kai.git] / include / msvcrt / share.h
blob979b24300d043f56f2943ce76df18034fe08a92b
1 /*
2 * share.h
4 * Constants for file sharing functions.
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.
10 * Original header contained the following
12 * THIS SOFTWARE IS NOT COPYRIGHTED
14 * This source code is offered for use in the public domain. You may
15 * use, modify or distribute it freely.
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 * DISCLAMED. This includes but is not limited to warranties of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 #ifndef __WINE_SHARE_H
25 #define __WINE_SHARE_H
26 #define __WINE_USE_MSVCRT
28 #define SH_COMPAT 0x00 /* Compatibility */
29 #define SH_DENYRW 0x10 /* Deny read/write */
30 #define SH_DENYWR 0x20 /* Deny write */
31 #define SH_DENYRD 0x30 /* Deny read */
32 #define SH_DENYNO 0x40 /* Deny nothing */
34 #endif /* __WINE_SHARE_H_ */