IPaddress common control implementation. First try; needs more work to
[wine/multimedia.git] / misc / stress.c
blob7a7f9f46bab98f5c22d1103b94862f97b6492897
1 #include <limits.h>
2 #include "windows.h"
3 #include "stress.h"
4 #include "debug.h"
7 int WINAPI AllocDiskSpace(long lLeft, UINT16 uDrive)
9 FIXME(stress, "(%d, %ld) - stub\n",
10 uDrive, lLeft);
12 return 1;
15 int WINAPI AllocFileHandles(int Left)
17 TRACE(stress, "(%d) - stub\n", Left);
19 if (Left < 0)
20 return -1;
21 else
22 return 1;
25 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
27 TRACE(stress, "(%d) - stub\n", uLeft);
29 return 1;
32 BOOL16 WINAPI AllocMem(DWORD dwLeft)
34 FIXME(stress, "(%ld) - stub\n", dwLeft);
36 return 1;
39 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
41 TRACE(stress, "AllocUserMem %d\n", uContig);
43 return 1;
46 void WINAPI FreeAllMem(void)
48 TRACE(stress, "FreeAllMem\n");
51 void WINAPI FreeAllGDIMem(void)
53 TRACE(stress, "FreeAllGDIMem\n");
56 void WINAPI FreeAllUserMem(void)
58 TRACE(stress, "FreeAllUserMem\n");
61 void WINAPI GetFreeAllUserMem(void)
63 TRACE(stress, "GetFreeAllUserMem\n");
66 int WINAPI GetFreeFileHandles(void)
68 TRACE(stress, "GetFreeFileHandles\n");
70 #ifndef OPEN_MAX
71 return _POSIX_OPEN_MAX;
72 #else
73 return OPEN_MAX;
74 #endif
77 void WINAPI UnAllocDiskSpace(UINT16 drive)
79 TRACE(stress, "UnAllocDiskSpace %d\n", drive);
82 void WINAPI UnAllocFileHandles(void)
84 TRACE(stress, "GetFreeAllUserMem\n");