Use proper system directory.
[wine/multimedia.git] / misc / w32skrnl.c
blob6f3030f89811335881d75fead8a81af3d98d4467
1 /*
2 * W32SKRNL
3 * DLL for Win32s
5 * Copyright (c) 1997 Andreas Mohr
6 */
8 #include <string.h>
9 #include <stdlib.h>
10 #include <stdio.h>
11 #include "windows.h"
13 LPSTR WINAPI GetWin32sDirectory(void)
15 static char sysdir[0x80];
16 LPSTR text;
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;
26 /* FIXME */
27 SEGPTR WINAPI _GetThunkBuff(void)
29 return (SEGPTR)NULL;