Release 980822
[wine] / misc / w32skrnl.c
1 /*
2  * W32SKRNL
3  * DLL for Win32s
4  *
5  * Copyright (c) 1997 Andreas Mohr
6  */
7
8 #include <string.h>
9 #include <stdlib.h>
10 #include <stdio.h>
11 #include "windows.h"
12
13 LPSTR WINAPI GetWin32sDirectory(void)
14 {
15     static char sysdir[0x80];
16     LPSTR text;
17
18     GetEnvironmentVariable32A("winsysdir", sysdir, 0x80);
19     if (!sysdir) return NULL;
20     strcat(sysdir, "\\WIN32S");
21     text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1);
22     strcpy(text, sysdir);
23     return text; 
24 }
25
26 /* FIXME */
27 SEGPTR WINAPI _GetThunkBuff(void)
28 {
29         return (SEGPTR)NULL;
30 }