Skip to content

Commit ea3dad9

Browse files
committed
Remove SystemParametersInfo P/Invoke too
1 parent a816ace commit ea3dad9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,11 @@ internal sealed partial class ConsoleHost
5454
internal const int ExitCodeCtrlBreak = 128 + 21; // SIGBREAK
5555
internal const int ExitCodeInitFailure = 70; // Internal Software Error
5656
internal const int ExitCodeBadCommandLineParameter = 64; // Command Line Usage Error
57-
private const uint SPI_GETSCREENREADER = 0x0046;
5857
#if UNIX
5958
internal const string DECCKM_ON = "\x1b[?1h";
6059
internal const string DECCKM_OFF = "\x1b[?1l";
6160
#endif
6261

63-
[DllImport("user32.dll", SetLastError = true)]
64-
[return: MarshalAs(UnmanagedType.Bool)]
65-
private static extern bool SystemParametersInfo(uint uiAction, uint uiParam, ref bool pvParam, uint fWinIni);
66-
6762
/// <summary>
6863
/// Internal Entry point in msh console host implementation.
6964
/// </summary>

0 commit comments

Comments
 (0)