[ICCVID][MSRLE32][MSVIDC32] Add VfW codecs version info (#6118)

Based on KRosUser's vfw.patch.
CORE-15382
This commit is contained in:
Katayama Hirofumi MZ 2023-12-10 06:50:58 +09:00 committed by GitHub
parent 623e857a43
commit 8be912147b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 0 deletions

View file

@ -20,6 +20,14 @@
#include "iccvid_private.h" #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 */ /* UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)

View file

@ -20,6 +20,13 @@
#include "msrle_private.h" #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 * Everything specific to any language goes

View file

@ -583,7 +583,11 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
if( info ) if( info )
{ {
memset( info, 0, sizeof *info ); memset( info, 0, sizeof *info );
#ifdef __REACTOS__
info->dwMagic = MSVC_MAGIC;
#else
info->dwMagic = CRAM_MAGIC; info->dwMagic = CRAM_MAGIC;
#endif
} }
r = (LRESULT) info; r = (LRESULT) info;
break; break;

View file

@ -18,6 +18,14 @@
#include "msvidc32_private.h" #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 */ /* UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)