2 * JBP (Jim Peterson <jspeter@birch.ee.vt.edu>): Lots of stubs needed for
13 /* for windows/winproc.c */
14 void CallFrom16_long_wwwll(void) {}
16 extern LRESULT
ColorDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
17 extern LRESULT
FileOpenDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
18 extern LRESULT
FileSaveDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
19 extern LRESULT
FindTextDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
20 extern LRESULT
MDIClientWndProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
21 extern LRESULT
PrintDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
22 extern LRESULT
PrintSetupDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
23 extern LRESULT
ReplaceTextDlgProc(HWND16
,UINT16
,WPARAM16
,LPARAM
);
25 /***********************************************************************
26 * MODULE_GetWndProcEntry16 (not a Windows API function)
28 * Return an entry point from the WPROCS dll.
30 FARPROC16
MODULE_GetWndProcEntry16( char *name
)
32 #define MAP_STR_TO_PROC(str,proc) if(!strcmp(name,str))return (FARPROC16)proc
33 MAP_STR_TO_PROC("ColorDlgProc",ColorDlgProc
);
34 MAP_STR_TO_PROC("FileOpenDlgProc",FileOpenDlgProc
);
35 MAP_STR_TO_PROC("FileSaveDlgProc",FileSaveDlgProc
);
36 MAP_STR_TO_PROC("FindTextDlgProc",FindTextDlgProc
);
37 MAP_STR_TO_PROC("MDIClientWndProc",MDIClientWndProc
);
38 MAP_STR_TO_PROC("PrintDlgProc",PrintDlgProc
);
39 MAP_STR_TO_PROC("PrintSetupDlgProc",PrintSetupDlgProc
);
40 MAP_STR_TO_PROC("ReplaceTextDlgProc",ReplaceTextDlgProc
);
41 fprintf(stderr
,"warning: No mapping for %s(), add one in library/miscstubs.c\n",name
);