| Line | |
|---|
| 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 | * DISCLAMED. 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 | #define __WINE_USE_MSVCRT
|
|---|
| 27 |
|
|---|
| 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 */
|
|---|
| 33 |
|
|---|
| 34 | #define _SH_COMPAT SH_COMPAT
|
|---|
| 35 | #define _SH_DENYRW SH_DENYRW
|
|---|
| 36 | #define _SH_DENYWR SH_DENYWR
|
|---|
| 37 | #define _SH_DENYRD SH_DENYRD
|
|---|
| 38 | #define _SH_DENYNO SH_DENYNO
|
|---|
| 39 |
|
|---|
| 40 | #endif /* __WINE_SHARE_H_ */
|
|---|
| 41 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.