From 587098891e7f2d6254703963e406a28ed59a9d08 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sat, 25 Feb 2017 10:46:31 -0600 Subject: [PATCH] winmm/tests: Test for avivideo driver version. Signed-off-by: Zebediah Figura Signed-off-by: Bruno Jesus <00cpxxx@gmail.com> Signed-off-by: Alexandre Julliard --- dlls/winmm/tests/mci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/winmm/tests/mci.c b/dlls/winmm/tests/mci.c index 0cbe57e644c..9ff6c583911 100644 --- a/dlls/winmm/tests/mci.c +++ b/dlls/winmm/tests/mci.c @@ -365,6 +365,10 @@ static void test_mciParser(HWND hwnd) ok(!err,"capability device type: %s\n", dbg_mcierr(err)); if(!err) ok(!strcmp(buf, "waveaudio"), "capability device type is %s\n", buf); + err = mciSendStringA("info a version", buf, sizeof(buf), hwnd); + ok(!err,"info version: %s\n", dbg_mcierr(err)); + if(!err) ok(!strcmp(buf, "1.1"), "info version is %s\n", buf); + err = mciSendCommandA(wDeviceID, MCI_CLOSE, 0, 0); ok(!err,"mciCommand close returned %s\n", dbg_mcierr(err));