mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Cleanup '#if CORE' in GetComputerInfoCommand.cs (#4401)
This commit is contained in:
1 parent
3b71bec9f3
commit
30cd78a9a7
1 file changed
-7
-7
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user