PageRenderTime 40ms CodeModel.GetById 14ms RepoModel.GetById 0ms 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
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
  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. namespace Microsoft.VisualStudio.Project
  15. {
  16. internal static class ExternDll
  17. {
  18. #if FEATURE_PAL
  19. #if !PLATFORM_UNIX
  20. internal const String DLLPREFIX = "";
  21. internal const String DLLSUFFIX = ".dll";
  22. #else // !PLATFORM_UNIX
  23. #if __APPLE__
  24. internal const String DLLPREFIX = "lib";
  25. internal const String DLLSUFFIX = ".dylib";
  26. #elif _AIX
  27. internal const String DLLPREFIX = "lib";
  28. internal const String DLLSUFFIX = ".a";
  29. #elif __hppa__ || IA64
  30. internal const String DLLPREFIX = "lib";
  31. internal const String DLLSUFFIX = ".sl";
  32. #else
  33. internal const String DLLPREFIX = "lib";
  34. internal const String DLLSUFFIX = ".so";
  35. #endif
  36. #endif // !PLATFORM_UNIX
  37. public const string Kernel32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
  38. public const string User32 = DLLPREFIX + "rotor_pal" + DLLSUFFIX;
  39. public const string Mscoree = DLLPREFIX + "sscoree" + DLLSUFFIX;
  40. #else
  41. public const string Activeds = "activeds.dll";
  42. public const string Advapi32 = "advapi32.dll";
  43. public const string Comctl32 = "comctl32.dll";
  44. public const string Comdlg32 = "comdlg32.dll";
  45. public const string Gdi32 = "gdi32.dll";
  46. public const string Gdiplus = "gdiplus.dll";
  47. public const string Hhctrl = "hhctrl.ocx";
  48. public const string Imm32 = "imm32.dll";
  49. public const string Kernel32 = "kernel32.dll";
  50. public const string Loadperf = "Loadperf.dll";
  51. public const string Mscoree = "mscoree.dll";
  52. public const string Mscorwks = "mscorwks.dll";
  53. public const string Msi = "msi.dll";
  54. public const string Mqrt = "mqrt.dll";
  55. public const string Ntdll = "ntdll.dll";
  56. public const string Ole32 = "ole32.dll";
  57. public const string Oleacc = "oleacc.dll";
  58. public const string Oleaut32 = "oleaut32.dll";
  59. public const string Olepro32 = "olepro32.dll";
  60. public const string PerfCounter = "perfcounter.dll";
  61. public const string Powrprof = "Powrprof.dll";
  62. public const string Psapi = "psapi.dll";
  63. public const string Shell32 = "shell32.dll";
  64. public const string Shfolder = "shfolder.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 Shlwapi = "shlwapi.dll";
  73. public const string Crypt32 = "crypt32.dll";
  74. // system.data specific
  75. internal const string Odbc32 = "odbc32.dll";
  76. internal const string SNI = "System.Data.dll";
  77. // system.data.oracleclient specific
  78. internal const string OciDll = "oci.dll";
  79. internal const string OraMtsDll = "oramts.dll";
  80. #endif //!FEATURE_PAL
  81. }
  82. }