On Thu Apr 20 04:04:45 2023 +0000, Zebediah Figura wrote:
PAPPSTATE_CHANGE_ROUTINE needs a calling convention. We also probably want to guard out PSM_APP_API_HOST as it's done in the Microsoft headers, so that the DECLSPEC_IMPORT logic actually works.
The Windows SDK header does not specify a calling convention. In this case, I added __stdcall since the functions are NTAPI.