From e45ca0bebbbb5910f56a62322f8940d9e4c9bf52 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 1 Aug 2019 03:29:02 +0000 Subject: [PATCH] include: Added Animate_IsPlaying define. Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Alexandre Julliard --- include/commctrl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/commctrl.h b/include/commctrl.h index 88b94167989..d8ba9746ca2 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.11.4.GIT