Zebediah Figura : winmm/tests: Test for avivideo driver version.

Alexandre Julliard julliard at winehq.org
Tue Feb 28 15:27:04 CST 2017


Module: wine
Branch: master
Commit: 587098891e7f2d6254703963e406a28ed59a9d08
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=587098891e7f2d6254703963e406a28ed59a9d08

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sat Feb 25 10:46:31 2017 -0600

winmm/tests: Test for avivideo driver version.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 0cbe57e..9ff6c58 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));
 




More information about the wine-cvs mailing list