| * Copyright (c) 1997 Andreas Mohr |
| #include "wine/windef16.h" |
| /*********************************************************************** |
| LPSTR WINAPI GetWin32sDirectory(void) |
| static char sysdir[0x80]; |
| GetEnvironmentVariableA("winsysdir", sysdir, 0x80); |
| if (!sysdir) return NULL; |
| strcat(sysdir, "\\WIN32S"); |
| text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1); |
| /*********************************************************************** |
| SEGPTR WINAPI _GetThunkBuff(void) |
| /*********************************************************************** |
| * GetCurrentTask32 (W32SKRNL.3) |
| HTASK16 WINAPI GetCurrentTask32(void) |
| return NtCurrentTeb()->htask16; |