Added patch to implement DrawDibProfileDisplay in msvideo.dll16.

This commit is contained in:
Sebastian Lackner 2016-05-28 00:24:35 +02:00
parent 70a46a2305
commit 5eb1d3c69b
3 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,46 @@
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

View File

@ -0,0 +1 @@
Fixes: Implement DrawDibProfileDisplay in msvideo.dll16

View File

@ -197,6 +197,7 @@ patch_enable_all ()
enable_msvcrt_Math_Precision="$1"
enable_msvcrt__fstat32i64="$1"
enable_msvfw32_ICGetDisplayFormat="$1"
enable_msvideo_dll16_DrawDibProfileDisplay="$1"
enable_ntdll_APC_Performance="$1"
enable_ntdll_APC_Start_Process="$1"
enable_ntdll_Activation_Context="$1"
@ -771,6 +772,9 @@ patch_enable ()
msvfw32-ICGetDisplayFormat)
enable_msvfw32_ICGetDisplayFormat="$2"
;;
msvideo.dll16-DrawDibProfileDisplay)
enable_msvideo_dll16_DrawDibProfileDisplay="$2"
;;
ntdll-APC_Performance)
enable_ntdll_APC_Performance="$2"
;;
@ -4663,6 +4667,18 @@ if test "$enable_msvfw32_ICGetDisplayFormat" -eq 1; then
) >> "$patchlist"
fi
# Patchset msvideo.dll16-DrawDibProfileDisplay
# |
# | Modified files:
# | * dlls/msvideo.dll16/msvideo.dll16.spec, dlls/msvideo.dll16/msvideo16.c
# |
if test "$enable_msvideo_dll16_DrawDibProfileDisplay" -eq 1; then
patch_apply msvideo.dll16-DrawDibProfileDisplay/0001-msvideo.dll16-Implement-DrawDibProfileDisplay.patch
(
echo '+ { "Michael Müller", "msvideo.dll16: Implement DrawDibProfileDisplay.", 1 },';
) >> "$patchlist"
fi
# Patchset ntdll-APC_Performance
# |
# | Modified files: