wine-staging/patches/msvideo.dll16-DrawDibProfileDisplay/0001-msvideo.dll16-Implement-DrawDibProfileDisplay.patch

47 lines
1.6 KiB
Diff
Raw Normal View History

From a4e357c8f7c61c27b536671fe300ea1c6718a03d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Sat, 28 May 2016 00:00:05 +0200
Subject: msvideo.dll16: Implement DrawDibProfileDisplay.
---
dlls/msvideo.dll16/msvideo.dll16.spec | 2 +-
dlls/msvideo.dll16/msvideo16.c | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/dlls/msvideo.dll16/msvideo.dll16.spec b/dlls/msvideo.dll16/msvideo.dll16.spec
index f45f644..01dbbf3 100644
--- a/dlls/msvideo.dll16/msvideo.dll16.spec
+++ b/dlls/msvideo.dll16/msvideo.dll16.spec
@@ -35,7 +35,7 @@
111 stub DRAWDIBCHANGEPALETTE
112 pascal -ret16 DrawDibRealize(word word word) DrawDibRealize16
113 stub DRAWDIBTIME
-114 stub DRAWDIBPROFILEDISPLAY
+114 pascal -ret16 DrawDibProfileDisplay(segptr) DrawDibProfileDisplay16
115 stub STRETCHDIB
118 pascal -ret16 DrawDibStart(word long) DrawDibStart16
119 pascal -ret16 DrawDibStop(word) DrawDibStop16
diff --git a/dlls/msvideo.dll16/msvideo16.c b/dlls/msvideo.dll16/msvideo16.c
index 8f02cc1..28f126c 100644
--- a/dlls/msvideo.dll16/msvideo16.c
+++ b/dlls/msvideo.dll16/msvideo16.c
@@ -121,6 +121,15 @@ UINT16 VFWAPI DrawDibRealize16(HDRAWDIB16 hdd, HDC16 hdc,
}
/*************************************************************************
+ * DrawDibProfileDisplay [MSVIDEO.114]
+ */
+BOOL16 VFWAPI DrawDibProfileDisplay16(LPBITMAPINFOHEADER lpbi)
+{
+ TRACE("(%p)\n", lpbi);
+ return DrawDibProfileDisplay(lpbi);
+}
+
+/*************************************************************************
* DrawDibStart [MSVIDEO.118]
*/
BOOL16 VFWAPI DrawDibStart16(HDRAWDIB16 hdd, DWORD rate)
--
2.8.0