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