wine/dlls/win32s/w32skernel.c
Alexandre Julliard ab687979fd Moved standard syslevel APIs declaration to winbase.h.
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00

37 lines
728 B
C

/*
* W32SKRNL
* DLL for Win32s
*
* Copyright (c) 1997 Andreas Mohr
*/
#include <string.h>
#include "winbase.h"
#include "wine/windef16.h"
/***********************************************************************
* GetWin32sDirectory
*/
LPSTR WINAPI GetWin32sDirectory(void)
{
static char sysdir[0x80];
LPSTR text;
GetEnvironmentVariableA("winsysdir", sysdir, 0x80);
if (!sysdir) return NULL;
strcat(sysdir, "\\WIN32S");
text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1);
strcpy(text, sysdir);
return text;
}
/***********************************************************************
* _GetThunkBuff
* FIXME: ???
*/
SEGPTR WINAPI _GetThunkBuff(void)
{
return (SEGPTR)NULL;
}