[PATCH 09/13] include : Added Animate_IsPlaying define.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Jul 31 22:29:02 CDT 2019


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/commctrl.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/commctrl.h b/include/commctrl.h
index d9a50242a3..38aaeef1c9 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
-- 
2.17.1




More information about the wine-devel mailing list