Skip to content

Crashes when returning from screensaver with "Blank Screen Start Command" enabled #766

Description

@Ahchay

I am using the Blank Screen Start Command feature to run the following powershell script on my Windows build:

powershell (Add-Type '[DllImport("user32.dll")]^public static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2)

This works correctly (turns off the monitor), but when I attempt to wake up the PC, the monitor turns on but AttractMode is hanging on the last slideshow image that was being displayed. Eventually, if I attempt to exit AM, then the Windows "This program has crashed" dialog will be displayed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions