PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/IronPython_Main/Tools/IronStudio/IronStudio/VisualStudio/Project/Misc/ExternDll.cs

#
C# | 88 lines | 67 code | 6 blank | 15 comment | 1 complexity | 9786f8563d462f4d85d559d266fca07a MD5 | raw file
 1/* ****************************************************************************
 2 *
 3 * Copyright (c) Microsoft Corporation. 
 4 *
 5 * This source code is subject to terms and conditions of the Apache License, Version 2.0. A 
 6 * copy of the license can be found in the License.html file at the root of this distribution. If 
 7 * you cannot locate the Apache License, Version 2.0, please send an email to 
 8 * ironpy@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
 9 * by the terms of the Apache License, Version 2.0.
10 *
11 * You must not remove this notice, or any other, from this software.
12 *
13 * ***************************************************************************/
14
15namespace Microsoft.VisualStudio.Project
16{
17	internal static class ExternDll
18	{
19
20#if FEATURE_PAL
21
22#if !PLATFORM_UNIX
23        internal const String DLLPREFIX = "";
24        internal const String DLLSUFFIX = ".dll";
25#else // !PLATFORM_UNIX
26#if __APPLE__
27        internal const String DLLPREFIX = "lib";
28        internal const String DLLSUFFIX = ".dylib";
29#elif _AIX
30        internal const String DLLPREFIX = "lib";
31        internal const String DLLSUFFIX = ".a";
32#elif __hppa__ || IA64
33        internal const String DLLPREFIX = "lib";
34        internal const String DLLSUFFIX = ".sl";
35#else
36        internal const String DLLPREFIX = "lib";
37        internal const String DLLSUFFIX = ".so";
38#endif
39#endif // !PLATFORM_UNIX
40
41        public const string Kernel32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
42        public const string User32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
43        public const string Mscoree  = DLLPREFIX + "sscoree" + DLLSUFFIX;
44#else
45		public const string Activeds = "activeds.dll";
46		public const string Advapi32 = "advapi32.dll";
47		public const string Comctl32 = "comctl32.dll";
48		public const string Comdlg32 = "comdlg32.dll";
49		public const string Gdi32 = "gdi32.dll";
50		public const string Gdiplus = "gdiplus.dll";
51		public const string Hhctrl = "hhctrl.ocx";
52		public const string Imm32 = "imm32.dll";
53		public const string Kernel32 = "kernel32.dll";
54		public const string Loadperf = "Loadperf.dll";
55		public const string Mscoree = "mscoree.dll";
56		public const string Mscorwks = "mscorwks.dll";
57		public const string Msi = "msi.dll";
58		public const string Mqrt = "mqrt.dll";
59		public const string Ntdll = "ntdll.dll";
60		public const string Ole32 = "ole32.dll";
61		public const string Oleacc = "oleacc.dll";
62		public const string Oleaut32 = "oleaut32.dll";
63		public const string Olepro32 = "olepro32.dll";
64		public const string PerfCounter = "perfcounter.dll";
65		public const string Powrprof = "Powrprof.dll";
66		public const string Psapi = "psapi.dll";
67		public const string Shell32 = "shell32.dll";
68		public const string Shfolder = "shfolder.dll";
69		public const string User32 = "user32.dll";
70		public const string Uxtheme = "uxtheme.dll";
71		public const string WinMM = "winmm.dll";
72		public const string Winspool = "winspool.drv";
73		public const string Wtsapi32 = "wtsapi32.dll";
74		public const string Version = "version.dll";
75		public const string Vsassert = "vsassert.dll";
76		public const string Shlwapi = "shlwapi.dll";
77		public const string Crypt32 = "crypt32.dll";
78
79		// system.data specific
80		internal const string Odbc32 = "odbc32.dll";
81		internal const string SNI = "System.Data.dll";
82
83		// system.data.oracleclient specific
84		internal const string OciDll = "oci.dll";
85		internal const string OraMtsDll = "oramts.dll";
86#endif //!FEATURE_PAL
87	}
88}