blob: 8aff679ddb46fee30742d9a31854a8eee8146867 [file] [log] [blame]
Alexandre Julliarde658d821997-11-30 17:45:40 +00001/*
2 * W32SKRNL
3 * DLL for Win32s
4 *
5 * Copyright (c) 1997 Andreas Mohr
6 */
7
Alexandre Julliarde658d821997-11-30 17:45:40 +00008#include <string.h>
Marcus Meissner04c3e1d1999-02-19 10:37:02 +00009#include "winbase.h"
Alexandre Julliarde658d821997-11-30 17:45:40 +000010
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000011LPSTR WINAPI GetWin32sDirectory(void)
Alexandre Julliarde658d821997-11-30 17:45:40 +000012{
Alexandre Julliard46ea8b31998-05-03 19:01:20 +000013 static char sysdir[0x80];
Alexandre Julliarde658d821997-11-30 17:45:40 +000014 LPSTR text;
15
Alexandre Julliarda3960291999-02-26 11:11:13 +000016 GetEnvironmentVariableA("winsysdir", sysdir, 0x80);
Alexandre Julliarde658d821997-11-30 17:45:40 +000017 if (!sysdir) return NULL;
18 strcat(sysdir, "\\WIN32S");
19 text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1);
20 strcpy(text, sysdir);
21 return text;
22}
23
24/* FIXME */
Alexandre Julliard44ed71f1997-12-21 19:17:50 +000025SEGPTR WINAPI _GetThunkBuff(void)
Alexandre Julliarde658d821997-11-30 17:45:40 +000026{
27 return (SEGPTR)NULL;
28}