mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
a396029270
standard Windows names.
28 lines
503 B
C
28 lines
503 B
C
/*
|
|
* W32SKRNL
|
|
* DLL for Win32s
|
|
*
|
|
* Copyright (c) 1997 Andreas Mohr
|
|
*/
|
|
|
|
#include <string.h>
|
|
#include "winbase.h"
|
|
|
|
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;
|
|
}
|
|
|
|
/* FIXME */
|
|
SEGPTR WINAPI _GetThunkBuff(void)
|
|
{
|
|
return (SEGPTR)NULL;
|
|
}
|