commit | e3083354fdc795b12233ad40c0e840e26ead7286 | [log] [tgz] |
---|---|---|
author | Steve Lhomme <robux4@ycbcr.xyz> | Wed Apr 22 14:02:16 2020 +0200 |
committer | Liu Hao <lh_mouse@126.com> | Wed Apr 22 23:05:27 2020 +0800 |
tree | d6502290d3e74e6224e1648719f99969d08aa73d | |
parent | a26992ee89acf4011871e6dec00e00ee91b5fbbe [diff] |
headers: provide the WinMain prototype to winstore apps A proper UWP app should create a IFrameworkViewSource class, instantiate it and call CoreApplication:Run() with it. https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.core To create the instance the app still needs an entry point and that's still WinMain: https://stackoverflow.com/a/42211357/1266123 https://stackoverflow.com/a/53661306/1266123 So we provide the proper prototype for UWP apps as well. This is still what the C runtime will call. Signed-off-by: Liu Hao <lh_mouse@126.com>