Alistair Leslie-Hughes : include: Added Animate_IsPlaying define.

Alexandre Julliard julliard at winehq.org
Thu Aug 1 17:16:47 CDT 2019


Module: wine
Branch: master
Commit: e45ca0bebbbb5910f56a62322f8940d9e4c9bf52
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e45ca0bebbbb5910f56a62322f8940d9e4c9bf52

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu Aug  1 03:29:02 2019 +0000

include: Added Animate_IsPlaying define.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/commctrl.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/commctrl.h b/include/commctrl.h
index 88b9416..d8ba974 100644
--- a/include/commctrl.h
+++ b/include/commctrl.h
@@ -4608,6 +4608,7 @@ static const WCHAR ANIMATE_CLASSW[] = { 'S','y','s',
 #define ACM_OPEN                WINELIB_NAME_AW(ACM_OPEN)
 #define ACM_PLAY                (WM_USER+101)
 #define ACM_STOP                (WM_USER+102)
+#define ACM_ISPLAYING           (WM_USER+104)
 
 #define ACN_START               1
 #define ACN_STOP                2
@@ -4635,7 +4636,8 @@ static const WCHAR ANIMATE_CLASSW[] = { 'S','y','s',
     (BOOL)SNDMSG(hwnd,ACM_OPENA,0,0)
 #define Animate_Seek(hwnd,frame) \
     (BOOL)SNDMSG(hwnd,ACM_PLAY,1,(LPARAM)MAKELONG(frame,frame))
-
+#define Animate_IsPlaying(hwnd) \
+    (BOOL)SNDMSG(hwnd, ACM_ISPLAYING, 0, 0)
 
 /**************************************************************************
  * IP Address control




More information about the wine-cvs mailing list