Added stub for WIN32S16.EXP1 (most likely LoadPeResource16).
[wine] / dlls / win32s / w32sys.c
1 /*
2  * W32SYS
3  * helper DLL for Win32s
4  *
5  * Copyright (c) 1996 Anand Kumria
6  */
7
8 #include "windef.h"
9 #include "w32sys.h"
10
11 #include "debugtools.h"
12
13 DEFAULT_DEBUG_CHANNEL(dll)
14
15 /***********************************************************************
16  *           GetWin32sInfo   (W32SYS.12)
17  * RETURNS
18  *  0 on success, 1 on failure
19  */
20 WORD WINAPI GetWin32sInfo16(
21         LPWIN32SINFO lpInfo     /* [out] Win32S special information */
22 ) {
23     lpInfo->bMajor = 1;
24     lpInfo->bMinor = 3;
25     lpInfo->wBuildNumber = 0;
26     lpInfo->fDebug = FALSE;
27
28     return 0;
29 }
30
31 /***********************************************************************
32  *            GetW32SysVersion16  (W32SYS.5)
33  */
34 WORD WINAPI GetW32SysVersion16(void)
35 {
36     return 0x100;
37 }
38
39 /***********************************************************************
40  *           GetPEResourceTable   (W32SYS.7)
41  * retrieves the resourcetable from the passed filedescriptor
42  * RETURNS
43  *      dunno what.
44  */
45 WORD WINAPI GetPEResourceTable16(
46         HFILE16 hf              /* [in] filedescriptor to opened executeable */
47 ) {
48         return 0;
49 }
50
51 DWORD WINAPI LoadPeResource16(WORD x,SEGPTR y) {
52         FIXME("(0x%04x,0x%08lx),stub!\n",x,y);
53         return 0;
54 }