mshtml: HTMLWindow_item code clean up.
[wine] / dlls / stress.dll16 / 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 #include <stdarg.h>
20
21 #include "windef.h"
22 #include "wine/windef16.h"
23 #include "wine/debug.h"
24
25 WINE_DEFAULT_DEBUG_CHANNEL(stress);
26
27 /***********************************************************************
28  *              AllocDiskSpace (STRESS.10)
29  */
30 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
31 {
32         FIXME("(%d, %d) - stub\n",
33                        uDrive, lLeft);
34
35         return 1;
36 }
37
38 /***********************************************************************
39  *              AllocFileHandles (STRESS.6)
40  */
41 INT16 WINAPI AllocFileHandles(INT16 Left)
42 {
43         TRACE("(%d) - stub\n", Left);
44
45         if (Left < 0)
46                 return -1;
47         else
48                 return 1;
49 }
50
51 /***********************************************************************
52  *              AllocGDIMem (STRESS.14)
53  */
54 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
55 {
56         TRACE("(%d) - stub\n", uLeft);
57
58         return 1;
59 }
60
61 /***********************************************************************
62  *              AllocMem (STRESS.2)
63  */
64 BOOL16 WINAPI AllocMem(DWORD dwLeft)
65 {
66         FIXME("(%d) - stub\n", dwLeft);
67
68         return 1;
69 }
70
71 /***********************************************************************
72  *              AllocUserMem (STRESS.12)
73  */
74 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
75 {
76         TRACE("AllocUserMem %d\n", uContig);
77
78         return 1;
79 }
80
81 /***********************************************************************
82  *              FreeAllMem (STRESS.3)
83  */
84 void WINAPI FreeAllMem(void)
85 {
86         TRACE("FreeAllMem\n");
87 }
88
89 /***********************************************************************
90  *              FreeAllGDIMem (STRESS.15)
91  */
92 void WINAPI FreeAllGDIMem(void)
93 {
94         TRACE("FreeAllGDIMem\n");
95 }
96
97 /***********************************************************************
98  *              FreeAllUserMem (STRESS.13)
99  */
100 void WINAPI FreeAllUserMem(void)
101 {
102         TRACE("FreeAllUserMem\n");
103 }
104
105 /***********************************************************************
106  *              GetFreeFileHandles (STRESS.8)
107  */
108 INT16 WINAPI GetFreeFileHandles(void)
109 {
110         TRACE("GetFreeFileHandles\n");
111         return 256;  /* can't have more than 256 16-bit handles */
112 }
113
114 /***********************************************************************
115  *              UnAllocDiskSpace (STRESS.11)
116  */
117 void WINAPI UnAllocDiskSpace(UINT16 drive)
118 {
119         TRACE("UnAllocDiskSpace %d\n", drive);
120 }
121
122 /***********************************************************************
123  *              UnAllocFileHandles (STRESS.7)
124  */
125 void WINAPI UnAllocFileHandles(void)
126 {
127         TRACE("GetFreeAllUserMem\n");
128 }