Cleanup '#if CORE' in GetComputerInfoCommand.cs (#4401)
This commit is contained in:
parent
3b71bec9f3
commit
30cd78a9a7
|
@ -5107,17 +5107,10 @@ namespace Microsoft.PowerShell.Commands
|
|||
{
|
||||
private static class PInvokeDllNames
|
||||
{
|
||||
#if CORECLR
|
||||
public const string GetPhysicallyInstalledSystemMemoryDllName = "api-ms-win-core-sysinfo-l1-2-1.dll";
|
||||
public const string LCIDToLocaleNameDllName = "kernelbase.dll";
|
||||
public const string PowerDeterminePlatformRoleExDllName = "api-ms-win-power-base-l1-1-0.dll";
|
||||
public const string GetFirmwareTypeDllName = "api-ms-win-core-kernel32-legacy-l1-1-1";
|
||||
#else
|
||||
public const string GetPhysicallyInstalledSystemMemoryDllName = "kernel32.dll";
|
||||
public const string LCIDToLocaleNameDllName = "kernel32.dll";
|
||||
public const string PowerDeterminePlatformRoleExDllName = "Powrprof.dll";
|
||||
public const string GetFirmwareTypeDllName = "kernel32.dll";
|
||||
#endif
|
||||
}
|
||||
|
||||
public const int LOCALE_NAME_MAX_LENGTH = 85;
|
||||
|
|
Loading…
Reference in a new issue