[MPlayer-cvslog] r20668 - trunk/loader/win32.c

rtogni subversion at mplayerhq.hu
Sat Nov 4 17:25:32 CET 2006


Author: rtogni
Date: Sat Nov  4 17:25:32 2006
New Revision: 20668

Modified:
   trunk/loader/win32.c

Log:
Dummy EnumDisplaySettingsA, required by frapsvid.dll 2.8.1


Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	(original)
+++ trunk/loader/win32.c	Sat Nov  4 17:25:32 2006
@@ -4811,6 +4811,17 @@
     return 1;
 }
 
+// This define is fake, the real thing is a struct
+#define LPDEVMODEA void*
+// Dummy implementation, always return 1
+// Required for frapsvid.dll 2.8.1, return value does not matter
+static WIN_BOOL WINAPI expEnumDisplaySettingsA(LPCSTR name ,DWORD n,
+    LPDEVMODEA devmode)
+{
+    dbgprintf("EnumDisplaySettingsA (dummy) => 1\n");
+    return 1;
+}
+
 struct exports
 {
     char name[64];
@@ -5110,6 +5121,7 @@
     FF(DialogBoxParamA, -1)
     FF(RegisterClipboardFormatA, -1)
     FF(CharNextA, -1)
+    FF(EnumDisplaySettingsA, -1)
 };
 struct exports exp_advapi32[]={
     FF(RegCloseKey, -1)



More information about the MPlayer-cvslog mailing list