Removed some unnecessary includes.
[wine] / dlls / win32s / win32s16.c
1 /*
2  * WIN32S16
3  * DLL for Win32s
4  *
5  * Copyright (c) 1997 Andreas Mohr
6  */
7
8 #include <string.h>
9 #include <stdlib.h>
10 #include "windef.h"
11 #include "wine/windef16.h"
12 #include "selectors.h"
13 #include "debugtools.h"
14
15 DEFAULT_DEBUG_CHANNEL(dll);
16
17 /***********************************************************************
18  *              BootTask16
19  */
20 void WINAPI BootTask16()
21 {
22         MESSAGE("BootTask(): should only be used by WIN32S.EXE.\n");
23 }
24
25 /***********************************************************************
26  *           StackLinearToSegmented       (WIN32S16.43)
27  *
28  * Written without any docu.
29  */
30 SEGPTR WINAPI StackLinearToSegmented16(WORD w1, WORD w2)
31 {
32         FIXME("(%d,%d):stub.\n",w1,w2);
33         return (SEGPTR)NULL;
34 }
35
36
37 /***********************************************************************
38  *           UTSelectorOffsetToLinear16       (WIN32S16.48)
39  *
40  * rough guesswork, but seems to work (I had no "reasonable" docu)
41  */
42 LPVOID WINAPI UTSelectorOffsetToLinear16(SEGPTR sptr)
43 {
44         return PTR_SEG_TO_LIN(sptr);
45 }
46
47 /***********************************************************************
48  *           UTLinearToSelectorOffset16       (WIN32S16.49)
49  *
50  * FIXME: I don't know if that's the right way to do linear -> segmented
51  */
52 SEGPTR WINAPI UTLinearToSelectorOffset16(LPVOID lptr)
53 {
54     return (SEGPTR)lptr;
55 }