Patch to make DLLMain conformant to Microsoft guidelines
Original Reporter info from Mantis: Barvinok
-
Reporter name: Gennadiy
Original Reporter info from Mantis: Barvinok
- Reporter name: Gennadiy
Description:
In system.pp for win64 all definitions related to DLL entry point assume fdwReason and lpvReserved to be of type longint.
Which is not only incorrect according to MSDN
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682583%28v=vs.85%29.aspx
but also may cause problems should anyone specify lpvReserved that points above first 4G.
Patch to amend this included.
Mantis conversion info:
- Mantis ID: 21089
- OS: Windows 7
- Build: r20062
- Platform: win64
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 20079 (#562932a2)