| 1 | // Licensed to the .NET Foundation under one or more agreements. | 
|---|
| 2 | // The .NET Foundation licenses this file to you under the MIT license. | 
|---|
| 3 | // See the LICENSE file in the project root for more information. | 
|---|
| 4 |  | 
|---|
| 5 | /*++ | 
|---|
| 6 |  | 
|---|
| 7 |  | 
|---|
| 8 |  | 
|---|
| 9 | Module Name: | 
|---|
| 10 |  | 
|---|
| 11 | include/pal/common.h | 
|---|
| 12 |  | 
|---|
| 13 | Abstract: | 
|---|
| 14 | Header file for common helper functions in the map module. | 
|---|
| 15 |  | 
|---|
| 16 |  | 
|---|
| 17 |  | 
|---|
| 18 | --*/ | 
|---|
| 19 |  | 
|---|
| 20 | #ifndef __COMMON_H_ | 
|---|
| 21 | #define __COMMON_H_ | 
|---|
| 22 |  | 
|---|
| 23 | #ifdef __cplusplus | 
|---|
| 24 | extern "C" | 
|---|
| 25 | { | 
|---|
| 26 | #endif | 
|---|
| 27 |  | 
|---|
| 28 | /***** | 
|---|
| 29 | * | 
|---|
| 30 | * W32toUnixAccessControl( DWORD ) - Maps Win32 to Unix memory access controls . | 
|---|
| 31 | * | 
|---|
| 32 | */ | 
|---|
| 33 | INT W32toUnixAccessControl( IN DWORD flProtect ); | 
|---|
| 34 |  | 
|---|
| 35 | #ifdef __cplusplus | 
|---|
| 36 | } | 
|---|
| 37 | #endif | 
|---|
| 38 |  | 
|---|
| 39 | #endif /* __COMMON_H_ */ | 
|---|
| 40 |  | 
|---|
| 41 |  | 
|---|
| 42 |  | 
|---|
| 43 |  | 
|---|
| 44 |  | 
|---|