Release 971012
[wine/multimedia.git] / library / miscstubs.c
blobaaafc88978fa254ce8a673dbaa1a6b47aac16ff1
1 /*
2 * JBP (Jim Peterson <jspeter@birch.ee.vt.edu>): Lots of stubs needed for
3 * libwine.a.
4 */
6 #include <stdarg.h>
7 #include <stdio.h>
8 #include <stdlib.h>
9 #include <string.h>
10 #include "wintypes.h"
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);
24 extern LRESULT TASK_Reschedule(void);
26 /***********************************************************************
27 * MODULE_GetWndProcEntry16 (not a Windows API function)
29 * Return an entry point from the WPROCS dll.
31 FARPROC16 MODULE_GetWndProcEntry16( char *name )
33 #define MAP_STR_TO_PROC(str,proc) if(!strcmp(name,str))return (FARPROC16)proc
34 MAP_STR_TO_PROC("ColorDlgProc",ColorDlgProc);
35 MAP_STR_TO_PROC("FileOpenDlgProc",FileOpenDlgProc);
36 MAP_STR_TO_PROC("FileSaveDlgProc",FileSaveDlgProc);
37 MAP_STR_TO_PROC("FindTextDlgProc",FindTextDlgProc);
38 MAP_STR_TO_PROC("MDIClientWndProc",MDIClientWndProc);
39 MAP_STR_TO_PROC("PrintDlgProc",PrintDlgProc);
40 MAP_STR_TO_PROC("PrintSetupDlgProc",PrintSetupDlgProc);
41 MAP_STR_TO_PROC("ReplaceTextDlgProc",ReplaceTextDlgProc);
42 MAP_STR_TO_PROC("TASK_Reschedule",TASK_Reschedule);
43 fprintf(stderr,"warning: No mapping for %s(), add one in library/miscstubs.c\n",name);
44 return NULL;