Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System / misc / externdll.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="ExternDll.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6
7 namespace System {
8     internal static class ExternDll {
9
10 #if FEATURE_PAL && !SILVERLIGHT
11
12  #if !PLATFORM_UNIX
13         internal const String DLLPREFIX = "";
14         internal const String DLLSUFFIX = ".dll";
15  #else // !PLATFORM_UNIX
16   #if __APPLE__
17         internal const String DLLPREFIX = "lib";
18         internal const String DLLSUFFIX = ".dylib";
19   #elif _AIX
20         internal const String DLLPREFIX = "lib";
21         internal const String DLLSUFFIX = ".a";
22   #elif __hppa__ || IA64
23         internal const String DLLPREFIX = "lib";
24         internal const String DLLSUFFIX = ".sl";
25   #else
26         internal const String DLLPREFIX = "lib";
27         internal const String DLLSUFFIX = ".so";
28   #endif
29  #endif // !PLATFORM_UNIX
30
31         public const string Kernel32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
32         public const string User32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
33         public const string Mscoree  = DLLPREFIX + "sscoree" + DLLSUFFIX;
34
35 #elif FEATURE_PAL && SILVERLIGHT
36
37         public const string Kernel32 = "coreclr";
38         public const string User32 = "coreclr";
39
40
41 #else
42         public const string Activeds = "activeds.dll";
43         public const string Advapi32 = "advapi32.dll";
44         public const string Comctl32 = "comctl32.dll";
45         public const string Comdlg32 = "comdlg32.dll";
46         public const string Gdi32    = "gdi32.dll";
47         public const string Gdiplus  = "gdiplus.dll";
48         public const string Hhctrl   = "hhctrl.ocx";
49         public const string Imm32    = "imm32.dll";
50         public const string Kernel32 = "kernel32.dll";
51         public const string Loadperf = "Loadperf.dll";
52         public const string Mscoree  = "mscoree.dll";
53         public const string Clr      = "clr.dll";
54         public const string Msi      = "msi.dll";
55         public const string Mqrt     = "mqrt.dll";
56         public const string Ntdll    = "ntdll.dll";
57         public const string Ole32    = "ole32.dll";
58         public const string Oleacc   = "oleacc.dll";
59         public const string Oleaut32 = "oleaut32.dll";
60         public const string Olepro32 = "olepro32.dll";
61         public const string PerfCounter = "perfcounter.dll";
62         public const string Powrprof = "Powrprof.dll";
63         public const string Psapi    = "psapi.dll";
64         public const string Shell32  = "shell32.dll";
65         public const string User32   = "user32.dll";
66         public const string Uxtheme  = "uxtheme.dll";
67         public const string WinMM    = "winmm.dll";
68         public const string Winspool = "winspool.drv";
69         public const string Wtsapi32 = "wtsapi32.dll";
70         public const string Version  = "version.dll";
71         public const string Vsassert = "vsassert.dll";
72         public const string Fxassert = "Fxassert.dll";
73         public const string Shlwapi  = "shlwapi.dll";
74         public const string Crypt32  = "crypt32.dll";
75         public const string ShCore   = "SHCore.dll";
76
77         // system.data specific
78         internal const string Odbc32    = "odbc32.dll";
79         internal const string SNI       = "System.Data.dll";
80
81         // system.data.oracleclient specific
82         internal const string OciDll    = "oci.dll";
83         internal const string OraMtsDll = "oramts.dll";
84 #endif //!FEATURE_PAL
85     }
86 }