ntdll: Use an __ms_va_list in sscanf (Clang).
[wine/multimedia.git] / dlls / stress.dll16 / stress.c
blobbe292d9d58a1d7ee6e62b65ce91e913a0c02b356
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);
57 return TRUE;
60 /***********************************************************************
61 * AllocMem (STRESS.2)
63 BOOL16 WINAPI AllocMem(DWORD dwLeft)
65 FIXME("(%d) - stub\n", dwLeft);
66 return TRUE;
69 /***********************************************************************
70 * AllocUserMem (STRESS.12)
72 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
74 TRACE("AllocUserMem %d\n", uContig);
75 return TRUE;
78 /***********************************************************************
79 * FreeAllMem (STRESS.3)
81 void WINAPI FreeAllMem(void)
83 TRACE("FreeAllMem\n");
86 /***********************************************************************
87 * FreeAllGDIMem (STRESS.15)
89 void WINAPI FreeAllGDIMem(void)
91 TRACE("FreeAllGDIMem\n");
94 /***********************************************************************
95 * FreeAllUserMem (STRESS.13)
97 void WINAPI FreeAllUserMem(void)
99 TRACE("FreeAllUserMem\n");
102 /***********************************************************************
103 * GetFreeFileHandles (STRESS.8)
105 INT16 WINAPI GetFreeFileHandles(void)
107 TRACE("GetFreeFileHandles\n");
108 return 256; /* can't have more than 256 16-bit handles */
111 /***********************************************************************
112 * UnAllocDiskSpace (STRESS.11)
114 void WINAPI UnAllocDiskSpace(UINT16 drive)
116 TRACE("UnAllocDiskSpace %d\n", drive);
119 /***********************************************************************
120 * UnAllocFileHandles (STRESS.7)
122 void WINAPI UnAllocFileHandles(void)
124 TRACE("GetFreeAllUserMem\n");