On 09/07/2016 10:09 PM, David Wohlferd wrote:
> I'm confused. Is GetStartupInfo even a winstore function?
Nope
> Is this to deal with the fact that __tmainCRTStartup uses it?
Exactly. In the end, the function won't be used since __tmainCRTStartup
won't be used for a windows store app, but we still need the configure
scripts to be able to compile executables.
Regards,
>
> 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
>>> [email protected]
>>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public