aboutsummaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-01 20:13:19 +0000
committerGravatar rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-01 20:13:19 +0000
commita1ebcb2ae611c65bf00700057e0c2cc26b4016db (patch)
tree139d65f440ccd5bf91b7f59d7e9251ff31d14e5f /loader
parent33683d4247b77bb5bfd7f39e2e6baf93720dedd7 (diff)
Add CharNextA(), needed by rp8 sipr dll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17072 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 247d3fab45..f7764eea25 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -4778,6 +4778,14 @@ static double exp_CIsin(void)
return sin(x);
}
+/* Needed by rp8 sipr decoder */
+static LPSTR WINAPI expCharNextA(LPCSTR ptr)
+{
+ if (!*ptr) return (LPSTR)ptr;
+// dbgprintf("CharNextA(0x%08x), %s\n", ptr, ptr);
+ return (LPSTR)(ptr + 1);
+}
+
struct exports
{
char name[64];
@@ -5074,6 +5082,7 @@ struct exports exp_user32[]={
FF(MessageBeep, -1)
FF(DialogBoxParamA, -1)
FF(RegisterClipboardFormatA, -1)
+ FF(CharNextA, -1)
};
struct exports exp_advapi32[]={
FF(RegCloseKey, -1)