dll代理与C

时间:2019-04-12 08:50:07

标签: c++ dll proxy

如何获取这些参数?对不起,我的英语。谢谢

extern "C" int Proxy_windowsfont(int a1, int a2, int a3, int a4, int a5, char a6, LPCSTR lpString2, LPCSTR lpString)
{
    MessageBox(NULL, (LPCWSTR)a1, _T("Hi"), NULL);

    typedef int(__stdcall *pS)(int a1, int a2, int a3, int a4, int a5, char a6, LPCSTR lpString2, LPCSTR lpString);
    pS pps = (pS)p[0 * 4];
    int rv = pps(a1, a2, a3, a4, a5, a6, lpString2, lpString);
    MessageBox(NULL, (LPCWSTR)a1, _T("Hi"), NULL);
    return rv;
}

0 个答案:

没有答案