Re: [Mingw-w64-public] Update WBEM-interfaces and describe headers via IDL
On 11/24/14 14:36, Kai Tietz wrote: +cpp_quote(DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa);) +cpp_quote(DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc);) +cpp_quote(DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0xd21, 0x11d1, 0x8c, 0xc5, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);) +cpp_quote(DEFINE_GUID(IID_ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2, 0x7d, 0x0, 0x60, 0x08, 0xc3, 0xfb, 0xfb);) Those IID_* declarations duplicate what widl generates for interfaces anyways. Other than that the patch looks good to me. Thanks, Jacek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Update WBEM-interfaces and describe headers via IDL
2014-11-24 14:46 GMT+01:00 Jacek Caban ja...@codeweavers.com: On 11/24/14 14:36, Kai Tietz wrote: +cpp_quote(DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa);) +cpp_quote(DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc);) +cpp_quote(DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0xd21, 0x11d1, 0x8c, 0xc5, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);) +cpp_quote(DEFINE_GUID(IID_ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2, 0x7d, 0x0, 0x60, 0x08, 0xc3, 0xfb, 0xfb);) Those IID_* declarations duplicate what widl generates for interfaces anyways. Other than that the patch looks good to me. Thanks, Jacek Hmm, I don't see where those GUIDs getting elsewhere declared? Could you give me a hint please? Thanks, Kai -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Update WBEM-interfaces and describe headers via IDL
On 11/24/14 15:06, Kai Tietz wrote: 2014-11-24 14:46 GMT+01:00 Jacek Caban ja...@codeweavers.com: On 11/24/14 14:36, Kai Tietz wrote: +cpp_quote(DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa);) +cpp_quote(DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc);) +cpp_quote(DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0xd21, 0x11d1, 0x8c, 0xc5, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);) +cpp_quote(DEFINE_GUID(IID_ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2, 0x7d, 0x0, 0x60, 0x08, 0xc3, 0xfb, 0xfb);) Those IID_* declarations duplicate what widl generates for interfaces anyways. Other than that the patch looks good to me. Thanks, Jacek Hmm, I don't see where those GUIDs getting elsewhere declared? Could you give me a hint please? Take a look at the header generated by widl. For each interface, there is DEFINE_GUID(IID_... ) line generated. Jacek -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Update WBEM-interfaces and describe headers via IDL
2014-11-24 15:16 GMT+01:00 Jacek Caban ja...@codeweavers.com: On 11/24/14 15:06, Kai Tietz wrote: 2014-11-24 14:46 GMT+01:00 Jacek Caban ja...@codeweavers.com: On 11/24/14 14:36, Kai Tietz wrote: +cpp_quote(DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa);) +cpp_quote(DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc);) +cpp_quote(DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0xd21, 0x11d1, 0x8c, 0xc5, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);) +cpp_quote(DEFINE_GUID(IID_ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2, 0x7d, 0x0, 0x60, 0x08, 0xc3, 0xfb, 0xfb);) Those IID_* declarations duplicate what widl generates for interfaces anyways. Other than that the patch looks good to me. Thanks, Jacek Hmm, I don't see where those GUIDs getting elsewhere declared? Could you give me a hint please? Take a look at the header generated by widl. For each interface, there is DEFINE_GUID(IID_... ) line generated. Jacek I did, and I don't see them. Therefore I asked. Kai -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] Update WBEM-interfaces and describe headers via IDL
On 11/24/14 16:50, Kai Tietz wrote: 2014-11-24 15:16 GMT+01:00 Jacek Caban ja...@codeweavers.com: On 11/24/14 15:06, Kai Tietz wrote: 2014-11-24 14:46 GMT+01:00 Jacek Caban ja...@codeweavers.com: On 11/24/14 14:36, Kai Tietz wrote: +cpp_quote(DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9);) +cpp_quote(DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa);) +cpp_quote(DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc);) +cpp_quote(DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0xd21, 0x11d1, 0x8c, 0xc5, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85);) +cpp_quote(DEFINE_GUID(IID_ICanHandleException, 0xc5598e60, 0xb307, 0x11d1, 0xb2, 0x7d, 0x0, 0x60, 0x08, 0xc3, 0xfb, 0xfb);) Those IID_* declarations duplicate what widl generates for interfaces anyways. Other than that the patch looks good to me. Thanks, Jacek Hmm, I don't see where those GUIDs getting elsewhere declared? Could you give me a hint please? Take a look at the header generated by widl. For each interface, there is DEFINE_GUID(IID_... ) line generated. Jacek I did, and I don't see them. Therefore I asked. Hmm. I attached dispex.h generated in my tree. See line 92 and 148. BTW, this DEFINE_GUID is a known difference between midl and widl. midl generates just |extern GUID IID_*;| in such cases. Changing widl to be compatible in this regards would be problematic, because both Wine and mingw-w64 already depend on this feature (in case of mingw-w64, it's mostly for libuuid.a and alike). Cheers, Jacek /*** Autogenerated by WIDL 1.6 from include/dispex.idl - Do not edit ***/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include rpc.h #include rpcndr.h #ifndef COM_NO_WINDOWS_H #include windows.h #include ole2.h #endif #ifndef __dispex_h__ #define __dispex_h__ /* Forward declarations */ #ifndef __IDispatchEx_FWD_DEFINED__ #define __IDispatchEx_FWD_DEFINED__ typedef interface IDispatchEx IDispatchEx; #endif #ifndef __IDispError_FWD_DEFINED__ #define __IDispError_FWD_DEFINED__ typedef interface IDispError IDispError; #endif #ifndef __IVariantChangeType_FWD_DEFINED__ #define __IVariantChangeType_FWD_DEFINED__ typedef interface IVariantChangeType IVariantChangeType; #endif #ifndef __IObjectIdentity_FWD_DEFINED__ #define __IObjectIdentity_FWD_DEFINED__ typedef interface IObjectIdentity IObjectIdentity; #endif #ifndef __ICanHandleException_FWD_DEFINED__ #define __ICanHandleException_FWD_DEFINED__ typedef interface ICanHandleException ICanHandleException; #endif #ifndef __IProvideRuntimeContext_FWD_DEFINED__ #define __IProvideRuntimeContext_FWD_DEFINED__ typedef interface IProvideRuntimeContext IProvideRuntimeContext; #endif /* Headers for imported files */ #include ocidl.h #include oleidl.h #include oaidl.h #include servprov.h #ifdef __cplusplus extern C { #endif /** * This file is part of the mingw-w64 runtime package. * No warranty is given; refer to the file DISCLAIMER within this package. */ #ifndef __IDispatchEx_FWD_DEFINED__ #define __IDispatchEx_FWD_DEFINED__ typedef interface IDispatchEx IDispatchEx; #endif #ifndef __IDispError_FWD_DEFINED__ #define __IDispError_FWD_DEFINED__ typedef interface IDispError IDispError; #endif #ifndef __IVariantChangeType_FWD_DEFINED__ #define __IVariantChangeType_FWD_DEFINED__ typedef interface IVariantChangeType IVariantChangeType; #endif #ifndef DISPEX_H_ #define DISPEX_H_ #include winapifamily.h #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) #include servprov.h #ifndef _NO_DISPATCHEX_GUIDS DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9); DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9); DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93, 0x37, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9); DEFINE_GUID(SID_VariantConversion, 0x1f101481, 0xbccd, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9); DEFINE_GUID(SID_GetCaller, 0x4717cc40, 0xbcb9, 0x11d0, 0x93, 0x36, 0x0, 0xa0, 0xc9, 0xd, 0xca, 0xa9); DEFINE_GUID(SID_ProvideRuntimeContext, 0x74a5040c, 0xdd0c, 0x48f0, 0xac, 0x85, 0x19, 0x4c, 0x32, 0x59, 0x18, 0xa); DEFINE_GUID(IID_IProvideRuntimeContext, 0x10e2414a, 0xec59, 0x49d2, 0xbc, 0x51, 0x5a, 0xdd, 0x2c, 0x36, 0xfe, 0xbc); DEFINE_GUID(IID_IObjectIdentity,