Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-16 Thread Liu Hao
在 2020/4/10 22:11, Jacek Caban 写道: > Hi Steve, > > Yeah, winrt IDLs in mingw-w64 are a mess right now. They are invalid and > they required hacked widl version to generate. Long term solution is > finishing winrt support in upstream widl (I did some work on that, but > more is needed) and rewrite

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-10 Thread Jacek Caban
Hi Steve, Yeah, winrt IDLs in mingw-w64 are a mess right now. They are invalid and they required hacked widl version to generate. Long term solution is finishing winrt support in upstream widl (I did some work on that, but more is needed) and rewrite those IDLs. If you need a quicker solution,

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-10 Thread Steve Lhomme
I had a lot of trouble generating the .h The widl I'm using would not recognize the declarations in namespaces. So I put the declerations outside and it kinda worked. Using the proper namespace and removing a few things works. But then the COBJMACRO API calls are quite different (and ugly) fr

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-10 Thread Liu Hao
在 2020/4/10 0:48, Biswapriyo Nath 写道: > enum AsyncStatus is present in AsyncInfo.idl file in Windows SDK which is > not present in mingw-w64-headers. > > It's on line 32 in 'windows.foundation.idl'. But for some unknown reason WIDL doesn't recognize this typedef. -- Best regards, LH_Mouse

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-09 Thread Biswapriyo Nath
enum AsyncStatus is present in AsyncInfo.idl file in Windows SDK which is not present in mingw-w64-headers. ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-09 Thread Liu Hao
在 2020/4/8 22:28, Steve Lhomme 写道: > It allows getting the LocalCacheFolder > https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata.localcachefolde > --- > mingw-w64-headers/include/windows.storage.h | 114 ++ > mingw-w64-headers/include/windows.storage.idl |

[Mingw-w64-public] [PATCH] Add the IApplicationData2 storage interface

2020-04-08 Thread Steve Lhomme
It allows getting the LocalCacheFolder https://docs.microsoft.com/en-us/uwp/api/windows.storage.applicationdata.localcachefolde --- mingw-w64-headers/include/windows.storage.h | 114 ++ mingw-w64-headers/include/windows.storage.idl | 5 + 2 files changed, 119 insertions(+) dif