5 * Copyright (c) 1997 Andreas Mohr
11 #include "wine/windef16.h"
12 #include "selectors.h"
13 #include "debugtools.h"
15 DEFAULT_DEBUG_CHANNEL(dll
);
17 /***********************************************************************
20 void WINAPI
BootTask16()
22 MESSAGE("BootTask(): should only be used by WIN32S.EXE.\n");
25 /***********************************************************************
26 * StackLinearToSegmented (WIN32S16.43)
28 * Written without any docu.
30 SEGPTR WINAPI
StackLinearToSegmented16(WORD w1
, WORD w2
)
32 FIXME("(%d,%d):stub.\n",w1
,w2
);
37 /***********************************************************************
38 * UTSelectorOffsetToLinear16 (WIN32S16.48)
40 * rough guesswork, but seems to work (I had no "reasonable" docu)
42 LPVOID WINAPI
UTSelectorOffsetToLinear16(SEGPTR sptr
)
44 return PTR_SEG_TO_LIN(sptr
);
47 /***********************************************************************
48 * UTLinearToSelectorOffset16 (WIN32S16.49)
50 * FIXME: I don't know if that's the right way to do linear -> segmented
52 SEGPTR WINAPI
UTLinearToSelectorOffset16(LPVOID lptr
)