Mercurial > mplayer.hg
comparison loader/win32.c @ 20652:0c342e00c63d
Dummy EnumDisplaySettingsA, required by frapsvid.dll 2.8.1
author | rtogni |
---|---|
date | Sat, 04 Nov 2006 16:25:32 +0000 |
parents | 3bf0d70b4c7f |
children | fe547c3298eb |
comparison
equal
deleted
inserted
replaced
20651:d6b3d471d1cb | 20652:0c342e00c63d |
---|---|
4806 | 4806 |
4807 // Fake implementation, needed by wvc1dmod.dll | 4807 // Fake implementation, needed by wvc1dmod.dll |
4808 static int WINAPI expPropVariantClear(void *pvar) | 4808 static int WINAPI expPropVariantClear(void *pvar) |
4809 { | 4809 { |
4810 // dbgprintf("PropVariantclear (0x%08x), %s\n", ptr, ptr); | 4810 // dbgprintf("PropVariantclear (0x%08x), %s\n", ptr, ptr); |
4811 return 1; | |
4812 } | |
4813 | |
4814 // This define is fake, the real thing is a struct | |
4815 #define LPDEVMODEA void* | |
4816 // Dummy implementation, always return 1 | |
4817 // Required for frapsvid.dll 2.8.1, return value does not matter | |
4818 static WIN_BOOL WINAPI expEnumDisplaySettingsA(LPCSTR name ,DWORD n, | |
4819 LPDEVMODEA devmode) | |
4820 { | |
4821 dbgprintf("EnumDisplaySettingsA (dummy) => 1\n"); | |
4811 return 1; | 4822 return 1; |
4812 } | 4823 } |
4813 | 4824 |
4814 struct exports | 4825 struct exports |
4815 { | 4826 { |
5108 #endif | 5119 #endif |
5109 FF(MessageBeep, -1) | 5120 FF(MessageBeep, -1) |
5110 FF(DialogBoxParamA, -1) | 5121 FF(DialogBoxParamA, -1) |
5111 FF(RegisterClipboardFormatA, -1) | 5122 FF(RegisterClipboardFormatA, -1) |
5112 FF(CharNextA, -1) | 5123 FF(CharNextA, -1) |
5124 FF(EnumDisplaySettingsA, -1) | |
5113 }; | 5125 }; |
5114 struct exports exp_advapi32[]={ | 5126 struct exports exp_advapi32[]={ |
5115 FF(RegCloseKey, -1) | 5127 FF(RegCloseKey, -1) |
5116 FF(RegCreateKeyA, -1) | 5128 FF(RegCreateKeyA, -1) |
5117 FF(RegCreateKeyExA, -1) | 5129 FF(RegCreateKeyExA, -1) |