Make WINE_GET_SONAME work on NetBSD.
[wine/wine64.git] / dlls / kernel / stress.c
blobcd591781a54f9913fa07bc1dd4b82f609c9febc5
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 "windef.h"
20 #include "wine/windef16.h"
21 #include "wine/debug.h"
23 WINE_DEFAULT_DEBUG_CHANNEL(stress);
25 /***********************************************************************
26 * AllocDiskSpace (STRESS.10)
28 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
30 FIXME("(%d, %ld) - stub\n",
31 uDrive, lLeft);
33 return 1;
36 /***********************************************************************
37 * AllocFileHandles (STRESS.6)
39 INT16 WINAPI AllocFileHandles(INT16 Left)
41 TRACE("(%d) - stub\n", Left);
43 if (Left < 0)
44 return -1;
45 else
46 return 1;
49 /***********************************************************************
50 * AllocGDIMem (STRESS.14)
52 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
54 TRACE("(%d) - stub\n", uLeft);
56 return 1;
59 /***********************************************************************
60 * AllocMem (STRESS.2)
62 BOOL16 WINAPI AllocMem(DWORD dwLeft)
64 FIXME("(%ld) - stub\n", dwLeft);
66 return 1;
69 /***********************************************************************
70 * AllocUserMem (STRESS.12)
72 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
74 TRACE("AllocUserMem %d\n", uContig);
76 return 1;
79 /***********************************************************************
80 * FreeAllMem (STRESS.3)
82 void WINAPI FreeAllMem(void)
84 TRACE("FreeAllMem\n");
87 /***********************************************************************
88 * FreeAllGDIMem (STRESS.15)
90 void WINAPI FreeAllGDIMem(void)
92 TRACE("FreeAllGDIMem\n");
95 /***********************************************************************
96 * FreeAllUserMem (STRESS.13)
98 void WINAPI FreeAllUserMem(void)
100 TRACE("FreeAllUserMem\n");
103 /***********************************************************************
104 * GetFreeFileHandles (STRESS.8)
106 INT16 WINAPI GetFreeFileHandles(void)
108 TRACE("GetFreeFileHandles\n");
109 return 256; /* can't have more than 256 16-bit handles */
112 /***********************************************************************
113 * UnAllocDiskSpace (STRESS.11)
115 void WINAPI UnAllocDiskSpace(UINT16 drive)
117 TRACE("UnAllocDiskSpace %d\n", drive);
120 /***********************************************************************
121 * UnAllocFileHandles (STRESS.7)
123 void WINAPI UnAllocFileHandles(void)
125 TRACE("GetFreeAllUserMem\n");