/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
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0
- /* ****************************************************************************
- *
- * Copyright (c) Microsoft Corporation.
- *
- * This source code is subject to terms and conditions of the Apache License, Version 2.0. A
- * copy of the license can be found in the License.html file at the root of this distribution. If
- * you cannot locate the Apache License, Version 2.0, please send an email to
- * ironpy@microsoft.com. By using this source code in any fashion, you are agreeing to be bound
- * by the terms of the Apache License, Version 2.0.
- *
- * You must not remove this notice, or any other, from this software.
- *
- * ***************************************************************************/
-
- namespace Microsoft.VisualStudio.Project
- {
- internal static class ExternDll
- {
-
- #if FEATURE_PAL
-
- #if !PLATFORM_UNIX
- internal const String DLLPREFIX = "";
- internal const String DLLSUFFIX = ".dll";
- #else // !PLATFORM_UNIX
- #if __APPLE__
- internal const String DLLPREFIX = "lib";
- internal const String DLLSUFFIX = ".dylib";
- #elif _AIX
- internal const String DLLPREFIX = "lib";
- internal const String DLLSUFFIX = ".a";
- #elif __hppa__ || IA64
- internal const String DLLPREFIX = "lib";
- internal const String DLLSUFFIX = ".sl";
- #else
- internal const String DLLPREFIX = "lib";
- internal const String DLLSUFFIX = ".so";
- #endif
- #endif // !PLATFORM_UNIX
-
- public const string Kernel32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
- public const string User32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
- public const string Mscoree = DLLPREFIX + "sscoree" + DLLSUFFIX;
- #else
- public const string Activeds = "activeds.dll";
- public const string Advapi32 = "advapi32.dll";
- public const string Comctl32 = "comctl32.dll";
- public const string Comdlg32 = "comdlg32.dll";
- public const string Gdi32 = "gdi32.dll";
- public const string Gdiplus = "gdiplus.dll";
- public const string Hhctrl = "hhctrl.ocx";
- public const string Imm32 = "imm32.dll";
- public const string Kernel32 = "kernel32.dll";
- public const string Loadperf = "Loadperf.dll";
- public const string Mscoree = "mscoree.dll";
- public const string Mscorwks = "mscorwks.dll";
- public const string Msi = "msi.dll";
- public const string Mqrt = "mqrt.dll";
- public const string Ntdll = "ntdll.dll";
- public const string Ole32 = "ole32.dll";
- public const string Oleacc = "oleacc.dll";
- public const string Oleaut32 = "oleaut32.dll";
- public const string Olepro32 = "olepro32.dll";
- public const string PerfCounter = "perfcounter.dll";
- public const string Powrprof = "Powrprof.dll";
- public const string Psapi = "psapi.dll";
- public const string Shell32 = "shell32.dll";
- public const string Shfolder = "shfolder.dll";
- public const string User32 = "user32.dll";
- public const string Uxtheme = "uxtheme.dll";
- public const string WinMM = "winmm.dll";
- public const string Winspool = "winspool.drv";
- public const string Wtsapi32 = "wtsapi32.dll";
- public const string Version = "version.dll";
- public const string Vsassert = "vsassert.dll";
- public const string Shlwapi = "shlwapi.dll";
- public const string Crypt32 = "crypt32.dll";
-
- // system.data specific
- internal const string Odbc32 = "odbc32.dll";
- internal const string SNI = "System.Data.dll";
-
- // system.data.oracleclient specific
- internal const string OciDll = "oci.dll";
- internal const string OraMtsDll = "oramts.dll";
- #endif //!FEATURE_PAL
- }
- }