Release 971221
[wine] / misc / w32scomb.c
1 /*
2  * W32SCOMB
3  * DLL for Win32s
4  *
5  * Copyright (c) 1997 Andreas Mohr
6  */
7
8 #include <stdio.h>
9 #include <string.h>
10 #include <stdlib.h>
11 #include "windows.h"
12 #include "module.h"
13 #include "ldt.h"
14
15 /***********************************************************************
16  *           Get16DLLAddress       (KERNEL32)
17  *
18  * rough guesswork, but seems to work
19  */
20 FARPROC16 WINAPI Get16DLLAddress(HMODULE16 handle, LPSTR name) {
21         if (!handle) handle=GetModuleHandle16("WIN32S16");
22         return (FARPROC16)WIN32_GetProcAddress16(handle, name);
23 }