ExternDll.cs 3.4 KB

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