This PR hands over duties for a number of direct calls to the Win32 API to the pywin32 library. These calls help properly prototype a number of used functions and reduce reliance on the direct calling of the Win32 API.
This has the added benefit of helping to properly set up the code to be more stable and reliable when using built 64-bit versions of EDMC. Where pywin32 isn't available, proper prototyping of direct win32 api calls h ave been performed to enhance stability.
Additionally, makes changes to enable the usage of game_running() on Linux.
Type of Change
Enhancement
How Tested
Tested using multiple local builds of EDMC on 32 and 64 bit Windows and ensuring the program executes properly.
Notes
Related to #1805 (though a second look is due when pywin32 307 comes out)
Replaces #1808
Closes #610
Description
This PR hands over duties for a number of direct calls to the Win32 API to the pywin32 library. These calls help properly prototype a number of used functions and reduce reliance on the direct calling of the Win32 API.
This has the added benefit of helping to properly set up the code to be more stable and reliable when using built 64-bit versions of EDMC. Where pywin32 isn't available, proper prototyping of direct win32 api calls h ave been performed to enhance stability.
Additionally, makes changes to enable the usage of game_running() on Linux.
Type of Change
Enhancement
How Tested
Tested using multiple local builds of EDMC on 32 and 64 bit Windows and ensuring the program executes properly.
Notes
Related to #1805 (though a second look is due when pywin32 307 comes out) Replaces #1808 Closes #610