I'm confused.  Is GetStartupInfo even a winstore function?  Is this to 
deal with the fact that __tmainCRTStartup uses it?

dw

On 9/7/2016 1:31 AM, Hugo Beauzée-Luyssen wrote:
> On 09/07/2016 10:25 AM, Jacek Caban wrote:
>> 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
>> Mingw-w64-public@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>>
> Hi,
>
> Fair point, would 0'ing it be ok in your opinion?
>
> Regards,
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to