We were not properly masking the item that was sent with the message
[wine] / dlls / win32s / w32skernel.c
1 /*
2  * W32SKRNL
3  * DLL for Win32s
4  *
5  * Copyright (c) 1997 Andreas Mohr
6  */
7
8 #include <string.h>
9
10 #include "wine/w32skrnl.h"
11 #include "winbase.h"
12
13 /***********************************************************************
14  *              GetWin32sDirectory
15  */
16 LPSTR WINAPI GetWin32sDirectory(void)
17 {
18     static char sysdir[0x80];
19     LPSTR text;
20
21     GetEnvironmentVariableA("winsysdir", sysdir, 0x80);
22     if (!sysdir) return NULL;
23     strcat(sysdir, "\\WIN32S");
24     text = HeapAlloc(GetProcessHeap(), 0, strlen(sysdir)+1);
25     strcpy(text, sysdir);
26     return text; 
27 }
28
29 /***********************************************************************
30  *              _GetThunkBuff
31  * FIXME: ???
32  */
33 SEGPTR WINAPI _GetThunkBuff(void)
34 {
35         return (SEGPTR)NULL;
36 }