Created
December 15, 2022 19:55
-
-
Save tmplinshi/66e5f2e8ae1ea7d6ec28f91c0f217fb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SetScreenReaderActiveStatus(isActive) | |
{ | |
SPI_SETSCREENREADER := 0x0047 | |
SPIF_SENDCHANGE := 0x0002 | |
return DllCall( "SystemParametersInfo" | |
, "uint", SPI_SETSCREENREADER | |
, "uint", !!isActive | |
, "ptr", 0 | |
, "uint", SPIF_SENDCHANGE ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment