mirror of
https://github.com/mpv-player/mpv
synced 2025-04-04 23:40:47 +00:00
Dummy EnumDisplaySettingsA, required by frapsvid.dll 2.8.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20668 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c80abe9523
commit
13ecb664fb
@ -4811,6 +4811,17 @@ static int WINAPI expPropVariantClear(void *pvar)
|
|||||||
return 1;
|
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
|
struct exports
|
||||||
{
|
{
|
||||||
char name[64];
|
char name[64];
|
||||||
@ -5110,6 +5121,7 @@ struct exports exp_user32[]={
|
|||||||
FF(DialogBoxParamA, -1)
|
FF(DialogBoxParamA, -1)
|
||||||
FF(RegisterClipboardFormatA, -1)
|
FF(RegisterClipboardFormatA, -1)
|
||||||
FF(CharNextA, -1)
|
FF(CharNextA, -1)
|
||||||
|
FF(EnumDisplaySettingsA, -1)
|
||||||
};
|
};
|
||||||
struct exports exp_advapi32[]={
|
struct exports exp_advapi32[]={
|
||||||
FF(RegCloseKey, -1)
|
FF(RegCloseKey, -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user