Build test programs as .so files. Added missing imports.
[wine/gsoc_dplay.git] / dlls / win32s / w32sys.c
blobe7102dfb7d2cbe054bde55745b5434d1c0ee55e3
1 /*
2 * W32SYS
3 * helper DLL for Win32s
5 * Copyright (c) 1996 Anand Kumria
6 */
8 #include "windef.h"
9 #include "wine/windef16.h"
10 #include "debugtools.h"
12 DEFAULT_DEBUG_CHANNEL(dll);
14 typedef struct
16 BYTE bMajor;
17 BYTE bMinor;
18 WORD wBuildNumber;
19 BOOL16 fDebug;
20 } WIN32SINFO, *LPWIN32SINFO;
22 /***********************************************************************
23 * GetWin32sInfo (W32SYS.12)
24 * RETURNS
25 * 0 on success, 1 on failure
27 WORD WINAPI GetWin32sInfo16(
28 LPWIN32SINFO lpInfo /* [out] Win32S special information */
29 ) {
30 lpInfo->bMajor = 1;
31 lpInfo->bMinor = 3;
32 lpInfo->wBuildNumber = 0;
33 lpInfo->fDebug = FALSE;
35 return 0;
38 /***********************************************************************
39 * GetW32SysVersion16 (W32SYS.5)
41 WORD WINAPI GetW32SysVersion16(void)
43 return 0x100;
46 /***********************************************************************
47 * GetPEResourceTable (W32SYS.7)
48 * retrieves the resourcetable from the passed filedescriptor
49 * RETURNS
50 * dunno what.
52 WORD WINAPI GetPEResourceTable16(
53 HFILE16 hf /* [in] filedescriptor to opened executeable */
54 ) {
55 return 0;
58 /***********************************************************************
59 * LoadPeResource
61 DWORD WINAPI LoadPeResource16(WORD x,SEGPTR y) {
62 FIXME("(0x%04x,0x%08lx),stub!\n",x,y);
63 return 0;