https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8be912147bbb9a2f9b876…
commit 8be912147bbb9a2f9b8763b7fdaffcd4aabfaa96
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sun Dec 10 06:50:58 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Dec 10 06:50:58 2023 +0900
[ICCVID][MSRLE32][MSVIDC32] Add VfW codecs version info (#6118)
Based on KRosUser's vfw.patch.
CORE-15382
---
dll/win32/iccvid/rsrc.rc | 8 ++++++++
dll/win32/msrle32/rsrc.rc | 7 +++++++
dll/win32/msvidc32/msvideo1.c | 4 ++++
dll/win32/msvidc32/rsrc.rc | 8 ++++++++
4 files changed, 27 insertions(+)
diff --git a/dll/win32/iccvid/rsrc.rc b/dll/win32/iccvid/rsrc.rc
index 16fe66f4362..f35f90314b8 100644
--- a/dll/win32/iccvid/rsrc.rc
+++ b/dll/win32/iccvid/rsrc.rc
@@ -20,6 +20,14 @@
#include "iccvid_private.h"
+#ifdef __REACTOS__
+ #define REACTOS_VERSION_DLL
+ #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Cinepak Compressor"
+ #define REACTOS_STR_INTERNAL_NAME "iccvid"
+ #define REACTOS_STR_ORIGINAL_FILENAME "iccvid.dll"
+ #include <reactos/version.rc>
+#endif
+
/* UTF-8 */
#pragma code_page(65001)
diff --git a/dll/win32/msrle32/rsrc.rc b/dll/win32/msrle32/rsrc.rc
index ffe58176206..3cbbd561ae8 100644
--- a/dll/win32/msrle32/rsrc.rc
+++ b/dll/win32/msrle32/rsrc.rc
@@ -20,6 +20,13 @@
#include "msrle_private.h"
+#ifdef __REACTOS__
+ #define REACTOS_VERSION_DLL
+ #define REACTOS_STR_FILE_DESCRIPTION "ReactOS RLE Compressor"
+ #define REACTOS_STR_INTERNAL_NAME "msrle32"
+ #define REACTOS_STR_ORIGINAL_FILENAME "msrle32.dll"
+ #include <reactos/version.rc>
+#endif
/*
* Everything specific to any language goes
diff --git a/dll/win32/msvidc32/msvideo1.c b/dll/win32/msvidc32/msvideo1.c
index 7b866d04caf..578630a39b0 100644
--- a/dll/win32/msvidc32/msvideo1.c
+++ b/dll/win32/msvidc32/msvideo1.c
@@ -583,7 +583,11 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr,
UINT msg,
if( info )
{
memset( info, 0, sizeof *info );
+#ifdef __REACTOS__
+ info->dwMagic = MSVC_MAGIC;
+#else
info->dwMagic = CRAM_MAGIC;
+#endif
}
r = (LRESULT) info;
break;
diff --git a/dll/win32/msvidc32/rsrc.rc b/dll/win32/msvidc32/rsrc.rc
index e07a7715861..2c82db75450 100644
--- a/dll/win32/msvidc32/rsrc.rc
+++ b/dll/win32/msvidc32/rsrc.rc
@@ -18,6 +18,14 @@
#include "msvidc32_private.h"
+#ifdef __REACTOS__
+ #define REACTOS_VERSION_DLL
+ #define REACTOS_STR_FILE_DESCRIPTION "ReactOS Video 1 Compressor"
+ #define REACTOS_STR_INTERNAL_NAME "msvidc32"
+ #define REACTOS_STR_ORIGINAL_FILENAME "msvidc32.dll"
+ #include <reactos/version.rc>
+#endif
+
/* UTF-8 */
#pragma code_page(65001)