Hi Hugo,
On 06.09.2016 16:11, Hugo Beauzée-Luyssen wrote:
> +#define GetStartupInfo __GetStartupInfo
> +#include <windows.h>
> +#undef GetStartupInfo
> +
> +VOID WINAPI GetStartupInfo( LPSTARTUPINFO lpStartupInfo )
> +{
> + (void)lpStartupInfo;
> +}
Callers of this function expect passed STARTUPINFO to be filled with
something sane. You can't just leave it untouched, it would most likely
fail in runtime.
Thanks,
Jacek
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public