nvda
94a8e0af - Use routines introduced or changed past Windows XP and Vista (#7685)

Commit
8 years ago
Use routines introduced or changed past Windows XP and Vista (#7685) * nvda.pyw: use user32.ChangeWindowMessageFilter with no exception statement anymore. ChangeWindowMessageFilter was introduced in Windows Vista, with Windows 7 introducing the extended version. Because NVDA does not run on XP anymore, just call this function with no try/except block. Also, decodeMBCS function uses tabs instead of spaces. * Ap module handler: use Windows Vista functions for obtaining process handle and process image name. Partly modifies the code added to suppoort appMod.productName and appMod,productVersion: no more support for Windows XP, so use functions from Vista directly. This simplifies the process handle and product name retrieval routine simpler. * Core: call SetProcessDPIAware directly instaed of through a try/except block. SetProcessDPIAware is available in Windows Vista and later, so call this function directly.
Author
Committer
Parents
Loading