summaryrefslogtreecommitdiffstats
path: root/src/windows/leashdll/lshcallb.c
blob: 0344b796f3acf6b052543d024ba0e9588cffc43d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <windows.h>

int (*Lcom_err)(LPSTR,long,LPSTR,...);
LPSTR (*Lerror_message)(long);
LPSTR (*Lerror_table_name)(long);

void Leash_load_com_err_callback(FARPROC ce,
                                 FARPROC em,
                                 FARPROC etn)
{
    (FARPROC)Lcom_err=ce;
    (FARPROC)Lerror_message=em;
    (FARPROC)Lerror_table_name=etn;
}