@@ -13,7 +13,6 @@ namespace System.Management.Automation
1313 /// </summary>
1414 internal static class PInvokeDllNames
1515 {
16- #if CORECLR
1716 internal const string GetLastErrorDllName = "api-ms-win-core-errorhandling-l1-1-0.dll" ; /* 1*/
1817 internal const string LookupAccountSidDllName = "api-ms-win-security-lsalookup-l2-1-1.dll" ; /* 2*/
1918 internal const string IsValidSidDllName = "api-ms-win-security-base-l1-2-0.dll" ; /* 3*/
@@ -28,21 +27,5 @@ internal static class PInvokeDllNames
2827 internal const string SetSecurityDescriptorDaclDllName = "api-ms-win-security-base-l1-2-0" ; /*12*/
2928 internal const string FormatMessageDllName = "api-ms-win-core-localization-l1-2-1" ; /*13*/
3029 internal const string GetVersionExDllName = "api-ms-win-core-sysinfo-l1-2-1.dll" ; /*14*/
31- #else
32- internal const string GetLastErrorDllName = "kernel32.dll" ; /* 1*/
33- internal const string LookupAccountSidDllName = "advapi32.dll" ; /* 2*/
34- internal const string IsValidSidDllName = "advapi32.dll" ; /* 3*/
35- internal const string GetLengthSidDllName = "advapi32.dll" ; /* 4*/
36- internal const string LsaFreeMemoryDllName = "advapi32.dll" ; /* 5*/
37- internal const string LsaOpenPolicyDllName = "advapi32.dll" ; /* 6*/
38- internal const string LsaQueryInformationPolicyDllName = "advapi32.dll" ; /* 7*/
39- internal const string LsaCloseDllName = "advapi32.dll" ; /* 8*/
40- internal const string LookupAccountNameDllName = "advapi32.dll" ; /* 9*/
41- internal const string GetComputerNameDllName = "kernel32.dll" ; /*10*/
42- internal const string GetSecurityDescriptorDaclDllName = "advapi32.dll" ; /*11*/
43- internal const string SetSecurityDescriptorDaclDllName = "advapi32.dll" ; /*12*/
44- internal const string FormatMessageDllName = "kernel32.dll" ; /*13*/
45- internal const string GetVersionExDllName = "kernel32.dll" ; /*14*/
46- #endif
4730 }
4831}
0 commit comments