malisipi / mui

A Cross-Platform UI Library
https://malisipi.github.io/mui/
Apache License 2.0
95 stars 9 forks source link

Hide Flashing Conhost Windows on Windows #11

Closed malisipi closed 1 year ago

malisipi commented 1 year ago

When compiled with "-mwindows" flag, conhost showed two times to get theme details from regedit and get state of narrator. But the properties, causes two conhost window flashing. That is important, because a end-user can think it's a virus or doing malicious things. So, i need to fix it asap.

malisipi commented 1 year ago

RegGetValueW function could be used in theme handling. EnumProcessModulesEx function could be used in detecting narrator.