oleaut: Reduce an ERR down to a WARN since a NULL interface pointer
[wine/multimedia.git] / dlls / kernel / stress.c
blob970f5ef493ba3932575e1c220cffb0c4017f4827
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #include <stdarg.h>
21 #include "windef.h"
22 #include "winbase.h"
23 #include "wine/windef16.h"
24 #include "wine/debug.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(stress);
28 /***********************************************************************
29 * AllocDiskSpace (STRESS.10)
31 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
33 FIXME("(%d, %ld) - stub\n",
34 uDrive, lLeft);
36 return 1;
39 /***********************************************************************
40 * AllocFileHandles (STRESS.6)
42 INT16 WINAPI AllocFileHandles(INT16 Left)
44 TRACE("(%d) - stub\n", Left);
46 if (Left < 0)
47 return -1;
48 else
49 return 1;
52 /***********************************************************************
53 * AllocGDIMem (STRESS.14)
55 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
57 TRACE("(%d) - stub\n", uLeft);
59 return 1;
62 /***********************************************************************
63 * AllocMem (STRESS.2)
65 BOOL16 WINAPI AllocMem(DWORD dwLeft)
67 FIXME("(%ld) - stub\n", dwLeft);
69 return 1;
72 /***********************************************************************
73 * AllocUserMem (STRESS.12)
75 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
77 TRACE("AllocUserMem %d\n", uContig);
79 return 1;
82 /***********************************************************************
83 * FreeAllMem (STRESS.3)
85 void WINAPI FreeAllMem(void)
87 TRACE("FreeAllMem\n");
90 /***********************************************************************
91 * FreeAllGDIMem (STRESS.15)
93 void WINAPI FreeAllGDIMem(void)
95 TRACE("FreeAllGDIMem\n");
98 /***********************************************************************
99 * FreeAllUserMem (STRESS.13)
101 void WINAPI FreeAllUserMem(void)
103 TRACE("FreeAllUserMem\n");
106 /***********************************************************************
107 * GetFreeFileHandles (STRESS.8)
109 INT16 WINAPI GetFreeFileHandles(void)
111 TRACE("GetFreeFileHandles\n");
112 return 256; /* can't have more than 256 16-bit handles */
115 /***********************************************************************
116 * UnAllocDiskSpace (STRESS.11)
118 void WINAPI UnAllocDiskSpace(UINT16 drive)
120 TRACE("UnAllocDiskSpace %d\n", drive);
123 /***********************************************************************
124 * UnAllocFileHandles (STRESS.7)
126 void WINAPI UnAllocFileHandles(void)
128 TRACE("GetFreeAllUserMem\n");