We were not properly masking the item that was sent with the message
[wine] / dlls / stress / stress_main.c
1 #include <limits.h>
2 #include "stress.h"
3 #include "debugtools.h"
4
5 DEFAULT_DEBUG_CHANNEL(stress);
6
7 /***********************************************************************
8  *              AllocDiskSpace
9  */
10 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
11 {
12         FIXME("(%d, %ld) - stub\n", 
13                        uDrive, lLeft);
14
15         return 1;
16 }
17
18 /***********************************************************************
19  *              AllocFileHandles
20  */
21 INT16 WINAPI AllocFileHandles(INT16 Left)
22 {
23         TRACE("(%d) - stub\n", Left);
24
25         if (Left < 0)
26                 return -1;
27         else
28                 return 1;
29 }
30
31 /***********************************************************************
32  *              AllocGDIMem
33  */
34 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
35 {
36         TRACE("(%d) - stub\n", uLeft);
37
38         return 1;
39 }
40
41 /***********************************************************************
42  *              AllocMem
43  */
44 BOOL16 WINAPI AllocMem(DWORD dwLeft)
45 {
46         FIXME("(%ld) - stub\n", dwLeft);
47
48         return 1;
49 }
50
51 /***********************************************************************
52  *              AllocUserMem
53  */
54 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
55 {
56         TRACE("AllocUserMem %d\n", uContig);
57
58         return 1;
59 }
60
61 /***********************************************************************
62  *              FreeAllMem
63  */
64 void WINAPI FreeAllMem(void)
65 {
66         TRACE("FreeAllMem\n");
67 }
68
69 /***********************************************************************
70  *              FreeAllGDIMem
71  */
72 void WINAPI FreeAllGDIMem(void)
73 {
74         TRACE("FreeAllGDIMem\n");
75 }
76
77 /***********************************************************************
78  *              FreeAllUserMem
79  */
80 void WINAPI FreeAllUserMem(void)
81 {
82         TRACE("FreeAllUserMem\n");
83 }
84
85 /***********************************************************************
86  *
87  */
88 void WINAPI GetFreeAllUserMem(void)
89 {
90        TRACE("GetFreeAllUserMem\n");
91 }
92
93 /***********************************************************************
94  *              GetFreeFileHandles
95  */
96 INT16 WINAPI GetFreeFileHandles(void)
97 {
98         TRACE("GetFreeFileHandles\n");
99
100 #ifndef OPEN_MAX
101         return _POSIX_OPEN_MAX;
102 #else
103         return OPEN_MAX;
104 #endif
105 }
106
107 /***********************************************************************
108  *              UnAllocDiskSpace
109  */
110 void WINAPI UnAllocDiskSpace(UINT16 drive)
111 {
112         TRACE("UnAllocDiskSpace %d\n", drive);
113 }
114
115 /***********************************************************************
116  *              UnAllocFileHandles
117  */
118 void WINAPI UnAllocFileHandles(void)
119 {
120         TRACE("GetFreeAllUserMem\n");
121 }