changeset 17071:733bf4f8516b

Add CharNextA(), needed by rp8 sipr dll
author rtognimp
date Thu, 01 Dec 2005 20:13:19 +0000
parents e2340cf00456
children 4c50b2f11ad8
files loader/win32.c
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Thu Dec 01 16:44:00 2005 +0000
+++ b/loader/win32.c	Thu Dec 01 20:13:19 2005 +0000
@@ -4778,6 +4778,14 @@
     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 @@
     FF(MessageBeep, -1)
     FF(DialogBoxParamA, -1)
     FF(RegisterClipboardFormatA, -1)
+    FF(CharNextA, -1)
 };
 struct exports exp_advapi32[]={
     FF(RegCloseKey, -1)