Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
[wine.git] / misc / w32skrnl.c
blob8aff679ddb46fee30742d9a31854a8eee8146867
1 /*
2 * W32SKRNL
3 * DLL for Win32s
5 * Copyright (c) 1997 Andreas Mohr
6 */
8 #include <string.h>
9 #include "winbase.h"
11 LPSTR WINAPI GetWin32sDirectory(void)
13 static char sysdir[0x80];
14 LPSTR text;
16 GetEnvironmentVariableA("winsysdir", sysdir, 0x80);
17 if (!sysdir) return NULL;
18 strcat(sysdir, "\\WIN32S");
19 text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1);
20 strcpy(text, sysdir);
21 return text;
24 /* FIXME */
25 SEGPTR WINAPI _GetThunkBuff(void)
27 return (SEGPTR)NULL;