Mask out the upper 12 bits from the resourceid, just like win95 does.
[wine/multimedia.git] / misc / w32sys.c
blob0220d2e6489410abec9346b60868e8b3f4b7687f
1 /*
2 * W32SYS
3 * helper DLL for Win32s
5 * Copyright (c) 1996 Anand Kumria
6 */
8 #include "wintypes.h"
9 #include "w32sys.h"
11 /***********************************************************************
12 * GetWin32sInfo (W32SYS.12)
13 * RETURNS
14 * 0 on success, 1 on failure
16 WORD WINAPI GetWin32sInfo16(
17 LPWIN32SINFO lpInfo /* [out] Win32S special information */
18 ) {
19 lpInfo->bMajor = 1;
20 lpInfo->bMinor = 3;
21 lpInfo->wBuildNumber = 0;
22 lpInfo->fDebug = FALSE;
24 return 0;
27 /***********************************************************************
28 * GetPEResourceTable (W32SYS.7)
29 * retrieves the resourcetable from the passed filedescriptor
30 * RETURNS
31 * dunno what.
33 WORD WINAPI GetPEResourceTable16(
34 HFILE16 hf /* [in] filedescriptor to opened executeable */
35 ) {
36 return 0;