mirror of https://github.com/mpv-player/mpv
Implement dummy EncodePointer/DecodePointer functions needed for e.g. lagarith.dll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29767 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5069d954b0
commit
7199cc3c4d
|
@ -4836,6 +4836,16 @@ static int exp_1Lockit_dummy(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void * WINAPI expEncodePointer(void *p)
|
||||||
|
{
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
|
||||||
|
static void * WINAPI expDecodePointer(void *p)
|
||||||
|
{
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
|
||||||
struct exports
|
struct exports
|
||||||
{
|
{
|
||||||
char name[64];
|
char name[64];
|
||||||
|
@ -5011,6 +5021,8 @@ struct exports exp_kernel32[]=
|
||||||
{"LoadLibraryExA", -1, (void*)&LoadLibraryExA},
|
{"LoadLibraryExA", -1, (void*)&LoadLibraryExA},
|
||||||
FF(SetThreadIdealProcessor,-1)
|
FF(SetThreadIdealProcessor,-1)
|
||||||
FF(SetProcessAffinityMask, -1)
|
FF(SetProcessAffinityMask, -1)
|
||||||
|
FF(EncodePointer, -1)
|
||||||
|
FF(DecodePointer, -1)
|
||||||
UNDEFF(FlsAlloc, -1)
|
UNDEFF(FlsAlloc, -1)
|
||||||
UNDEFF(FlsGetValue, -1)
|
UNDEFF(FlsGetValue, -1)
|
||||||
UNDEFF(FlsSetValue, -1)
|
UNDEFF(FlsSetValue, -1)
|
||||||
|
|
Loading…
Reference in New Issue