# HG changeset patch # User rtognimp # Date 1133467999 0 # Node ID 733bf4f8516b84a24a51a5a5c5c2f758e40b482f # Parent e2340cf00456652633d8b779ed3f3c802243756f Add CharNextA(), needed by rp8 sipr dll diff -r e2340cf00456 -r 733bf4f8516b loader/win32.c --- 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)