Fixed the displaying of the FOURCC codes in _dump_pixelformat.
[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 "debugtools.h"
10
11 DEFAULT_DEBUG_CHANNEL(dll);
12
13 typedef struct
14 {
15     BYTE   bMajor;
16     BYTE   bMinor;
17     WORD   wBuildNumber;
18     BOOL16 fDebug;
19 } WIN32SINFO, *LPWIN32SINFO;
20
21 /***********************************************************************
22  *           GetWin32sInfo   (W32SYS.12)
23  * RETURNS
24  *  0 on success, 1 on failure
25  */
26 WORD WINAPI GetWin32sInfo16(
27         LPWIN32SINFO lpInfo     /* [out] Win32S special information */
28 ) {
29     lpInfo->bMajor = 1;
30     lpInfo->bMinor = 3;
31     lpInfo->wBuildNumber = 0;
32     lpInfo->fDebug = FALSE;
33
34     return 0;
35 }
36
37 /***********************************************************************
38  *            GetW32SysVersion16  (W32SYS.5)
39  */
40 WORD WINAPI GetW32SysVersion16(void)
41 {
42     return 0x100;
43 }
44
45 /***********************************************************************
46  *           GetPEResourceTable   (W32SYS.7)
47  * retrieves the resourcetable from the passed filedescriptor
48  * RETURNS
49  *      dunno what.
50  */
51 WORD WINAPI GetPEResourceTable16(
52         HFILE16 hf              /* [in] filedescriptor to opened executeable */
53 ) {
54         return 0;
55 }
56
57 /***********************************************************************
58  *           LoadPeResource
59  */
60 DWORD WINAPI LoadPeResource16(WORD x,SEGPTR y) {
61         FIXME("(0x%04x,0x%08lx),stub!\n",x,y);
62         return 0;
63 }