Documentation fixes.
[wine] / dlls / win32s / w32skernel.c
1 /*
2  * W32SKRNL
3  * DLL for Win32s
4  *
5  * Copyright (c) 1997 Andreas Mohr
6  */
7
8 #include <string.h>
9
10 #include "winbase.h"
11 #include "wine/windef16.h"
12 #include "thread.h"
13
14 /***********************************************************************
15  *              _kGetWin32sDirectory@0 (W32SKRNL.14)
16  */
17 LPSTR WINAPI GetWin32sDirectory(void)
18 {
19     static char sysdir[0x80];
20     LPSTR text;
21
22     GetEnvironmentVariableA("winsysdir", sysdir, 0x80);
23     if (!sysdir) return NULL;
24     strcat(sysdir, "\\WIN32S");
25     text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1);
26     strcpy(text, sysdir);
27     return text; 
28 }
29
30 /***********************************************************************
31  *              _GetThunkBuff
32  * FIXME: ???
33  */
34 SEGPTR WINAPI _GetThunkBuff(void)
35 {
36         return (SEGPTR)NULL;
37 }
38
39
40 /***********************************************************************
41  *           GetCurrentTask32   (W32SKRNL.3)
42  */
43 HTASK16 WINAPI GetCurrentTask32(void)
44 {
45     return NtCurrentTeb()->htask16;
46 }
47