Fixed typo.
[wine.git] / misc / stress.c
blobdb380ea80f34af1f4b49375221a1de1462b15f63
1 #include <limits.h>
2 #include "stress.h"
3 #include "debug.h"
6 int WINAPI AllocDiskSpace(long lLeft, UINT16 uDrive)
8 FIXME(stress, "(%d, %ld) - stub\n",
9 uDrive, lLeft);
11 return 1;
14 int WINAPI AllocFileHandles(int Left)
16 TRACE(stress, "(%d) - stub\n", Left);
18 if (Left < 0)
19 return -1;
20 else
21 return 1;
24 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
26 TRACE(stress, "(%d) - stub\n", uLeft);
28 return 1;
31 BOOL16 WINAPI AllocMem(DWORD dwLeft)
33 FIXME(stress, "(%ld) - stub\n", dwLeft);
35 return 1;
38 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
40 TRACE(stress, "AllocUserMem %d\n", uContig);
42 return 1;
45 void WINAPI FreeAllMem(void)
47 TRACE(stress, "FreeAllMem\n");
50 void WINAPI FreeAllGDIMem(void)
52 TRACE(stress, "FreeAllGDIMem\n");
55 void WINAPI FreeAllUserMem(void)
57 TRACE(stress, "FreeAllUserMem\n");
60 void WINAPI GetFreeAllUserMem(void)
62 TRACE(stress, "GetFreeAllUserMem\n");
65 int WINAPI GetFreeFileHandles(void)
67 TRACE(stress, "GetFreeFileHandles\n");
69 #ifndef OPEN_MAX
70 return _POSIX_OPEN_MAX;
71 #else
72 return OPEN_MAX;
73 #endif
76 void WINAPI UnAllocDiskSpace(UINT16 drive)
78 TRACE(stress, "UnAllocDiskSpace %d\n", drive);
81 void WINAPI UnAllocFileHandles(void)
83 TRACE(stress, "GetFreeAllUserMem\n");