Assorted spelling and case fixes.
[wine] / dlls / kernel / stress.c
1 /*
2  * Copyright 1994 Erik Bos
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #include <stdarg.h>
20
21 #include "windef.h"
22 #include "winbase.h"
23 #include "wine/windef16.h"
24 #include "wine/debug.h"
25
26 WINE_DEFAULT_DEBUG_CHANNEL(stress);
27
28 /***********************************************************************
29  *              AllocDiskSpace (STRESS.10)
30  */
31 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
32 {
33         FIXME("(%d, %ld) - stub\n",
34                        uDrive, lLeft);
35
36         return 1;
37 }
38
39 /***********************************************************************
40  *              AllocFileHandles (STRESS.6)
41  */
42 INT16 WINAPI AllocFileHandles(INT16 Left)
43 {
44         TRACE("(%d) - stub\n", Left);
45
46         if (Left < 0)
47                 return -1;
48         else
49                 return 1;
50 }
51
52 /***********************************************************************
53  *              AllocGDIMem (STRESS.14)
54  */
55 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
56 {
57         TRACE("(%d) - stub\n", uLeft);
58
59         return 1;
60 }
61
62 /***********************************************************************
63  *              AllocMem (STRESS.2)
64  */
65 BOOL16 WINAPI AllocMem(DWORD dwLeft)
66 {
67         FIXME("(%ld) - stub\n", dwLeft);
68
69         return 1;
70 }
71
72 /***********************************************************************
73  *              AllocUserMem (STRESS.12)
74  */
75 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
76 {
77         TRACE("AllocUserMem %d\n", uContig);
78
79         return 1;
80 }
81
82 /***********************************************************************
83  *              FreeAllMem (STRESS.3)
84  */
85 void WINAPI FreeAllMem(void)
86 {
87         TRACE("FreeAllMem\n");
88 }
89
90 /***********************************************************************
91  *              FreeAllGDIMem (STRESS.15)
92  */
93 void WINAPI FreeAllGDIMem(void)
94 {
95         TRACE("FreeAllGDIMem\n");
96 }
97
98 /***********************************************************************
99  *              FreeAllUserMem (STRESS.13)
100  */
101 void WINAPI FreeAllUserMem(void)
102 {
103         TRACE("FreeAllUserMem\n");
104 }
105
106 /***********************************************************************
107  *              GetFreeFileHandles (STRESS.8)
108  */
109 INT16 WINAPI GetFreeFileHandles(void)
110 {
111         TRACE("GetFreeFileHandles\n");
112         return 256;  /* can't have more than 256 16-bit handles */
113 }
114
115 /***********************************************************************
116  *              UnAllocDiskSpace (STRESS.11)
117  */
118 void WINAPI UnAllocDiskSpace(UINT16 drive)
119 {
120         TRACE("UnAllocDiskSpace %d\n", drive);
121 }
122
123 /***********************************************************************
124  *              UnAllocFileHandles (STRESS.7)
125  */
126 void WINAPI UnAllocFileHandles(void)
127 {
128         TRACE("GetFreeAllUserMem\n");
129 }