wer: Add new stubbed wer.dll.
[wine/hramrach.git] / dlls / stress.dll16 / stress.c
blobc97a1b250c1f90d1de62d993bbd879df46c0c671
1 /*
2 * Copyright 1994 Erik Bos
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.
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.
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
19 #include <stdarg.h>
21 #include "windef.h"
22 #include "wine/windef16.h"
23 #include "wine/debug.h"
25 WINE_DEFAULT_DEBUG_CHANNEL(stress);
27 /***********************************************************************
28 * AllocDiskSpace (STRESS.10)
30 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
32 FIXME("(%d, %d) - stub\n",
33 uDrive, lLeft);
35 return 1;
38 /***********************************************************************
39 * AllocFileHandles (STRESS.6)
41 INT16 WINAPI AllocFileHandles(INT16 Left)
43 TRACE("(%d) - stub\n", Left);
45 if (Left < 0)
46 return -1;
47 else
48 return 1;
51 /***********************************************************************
52 * AllocGDIMem (STRESS.14)
54 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
56 TRACE("(%d) - stub\n", uLeft);
58 return 1;
61 /***********************************************************************
62 * AllocMem (STRESS.2)
64 BOOL16 WINAPI AllocMem(DWORD dwLeft)
66 FIXME("(%d) - stub\n", dwLeft);
68 return 1;
71 /***********************************************************************
72 * AllocUserMem (STRESS.12)
74 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
76 TRACE("AllocUserMem %d\n", uContig);
78 return 1;
81 /***********************************************************************
82 * FreeAllMem (STRESS.3)
84 void WINAPI FreeAllMem(void)
86 TRACE("FreeAllMem\n");
89 /***********************************************************************
90 * FreeAllGDIMem (STRESS.15)
92 void WINAPI FreeAllGDIMem(void)
94 TRACE("FreeAllGDIMem\n");
97 /***********************************************************************
98 * FreeAllUserMem (STRESS.13)
100 void WINAPI FreeAllUserMem(void)
102 TRACE("FreeAllUserMem\n");
105 /***********************************************************************
106 * GetFreeFileHandles (STRESS.8)
108 INT16 WINAPI GetFreeFileHandles(void)
110 TRACE("GetFreeFileHandles\n");
111 return 256; /* can't have more than 256 16-bit handles */
114 /***********************************************************************
115 * UnAllocDiskSpace (STRESS.11)
117 void WINAPI UnAllocDiskSpace(UINT16 drive)
119 TRACE("UnAllocDiskSpace %d\n", drive);
122 /***********************************************************************
123 * UnAllocFileHandles (STRESS.7)
125 void WINAPI UnAllocFileHandles(void)
127 TRACE("GetFreeAllUserMem\n");