This is the first commit in the series that adds support of Windows
Animation Manager (WAM) into mingw-w64. COM identifiers of the WAM
classes and interfaces are defined in the 'uuid' library.
Signed-off-by: Ruslan Garipov <***@gmail.com>
---
This is updated header files (and Makefiles, untouched).
Jacek, sorry, but my Thunderbird messed about with in-reply-to header,
and I sent two previous messages (with updated IDL file) as replies to
my own initial post. Really, sorry for bothering. Hope you will find the
updated patch for the IDL file.
Please review.
---
mingw-w64-crt/Makefile.am | 18 +-
mingw-w64-crt/Makefile.in | 56 +-
mingw-w64-crt/libsrc/uianimation-uuid.c | 44 +
mingw-w64-headers/Makefile.am | 1 +
mingw-w64-headers/Makefile.in | 1 +
mingw-w64-headers/include/uianimation.h | 7299
+++++++++++++++++++++++++++++++
6 files changed, 7401 insertions(+), 18 deletions(-)
create mode 100644 mingw-w64-crt/libsrc/uianimation-uuid.c
create mode 100644 mingw-w64-headers/include/uianimation.h
Post by Jacek CabanHi Ruslan,
Post by Ruslan GaripovThis is the second commit in the series that adds support of Windows
Animation Manager (WAM) into mingw-w64.
Thanks for the patch. I have a few comments.
Post by Ruslan Garipov+/* Enumeration declarations. */
+enum __MIDL___MIDL_itf_UIAnimation_0000_0002_0002
+{
+ UI_ANIMATION_SCHEDULING_UNEXPECTED_FAILURE = (int) 0xc000000,
+ UI_ANIMATION_SCHEDULING_INSUFFICIENT_PRIORITY = (int) 0xc000001,
+ UI_ANIMATION_SCHEDULING_ALREADY_SCHEDULED = (int) 0xc000002,
+ UI_ANIMATION_SCHEDULING_SUCCEEDED = (int) 0xc000003,
+ UI_ANIMATION_SCHEDULING_DEFERRED = (int) 0xc000004
+};
typedef [v1_enum] enum
{
// ...
} UI_ANIMATION_SCHEDULING_RESULT;
widl will add those weird decorations for you. Same for other enums.
Post by Ruslan Garipov+/* Interface declarations. */
+[
+ uuid(9169896C-AC8D-4E7D-94E5-67FA4DC2F2E8),
+ helpstring("IUIAnimationManager Interface")
+]
+interface IUIAnimationManager : IUnknown
+{
+ [id(0x60010000)]
I think that's the default id that's used if there is no explicit id()
attribute. Please remove those, widl will take care of that for you.
Post by Ruslan Garipov+ HRESULT __stdcall CreateAnimationVariable (
+ [in] double initialValue,
+ [out, retval] IUIAnimationVariable **variable
+ );
__stdcall is default for interface methods, so there is no need to
specify it. widl will do the right thing with those.
Thanks,
Jacek
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
--
Yours truly,
Ruslan Garipov <ruslanngaripov at gmail dot com>.
----------------------------------------------
MinGW-w64 developer, with write after approval
GEDKeeper collaborator