2019-07-16から1日間の記事一覧

モニタ画面OFF用PowerShell

$methods = @' [return: MarshalAs(UnmanagedType.Bool)] [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] public static extern bool PostMessage(uint hWnd, uint Msg, IntPtr wParam, IntPtr lParam); [DllImport("user32.dll",…