Rewrote Unix process launching to allow passing startup information to
[wine/multimedia.git] / dlls / stress / stress_main.c
blob6430956d9d6f0dce4d2342c30877c1efe5b88681
1 #include <limits.h>
2 #include "stress.h"
3 #include "debugtools.h"
5 DEFAULT_DEBUG_CHANNEL(stress);
7 /***********************************************************************
8 * AllocDiskSpace
9 */
10 INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
12 FIXME("(%d, %ld) - stub\n",
13 uDrive, lLeft);
15 return 1;
18 /***********************************************************************
19 * AllocFileHandles
21 INT16 WINAPI AllocFileHandles(INT16 Left)
23 TRACE("(%d) - stub\n", Left);
25 if (Left < 0)
26 return -1;
27 else
28 return 1;
31 /***********************************************************************
32 * AllocGDIMem
34 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
36 TRACE("(%d) - stub\n", uLeft);
38 return 1;
41 /***********************************************************************
42 * AllocMem
44 BOOL16 WINAPI AllocMem(DWORD dwLeft)
46 FIXME("(%ld) - stub\n", dwLeft);
48 return 1;
51 /***********************************************************************
52 * AllocUserMem
54 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
56 TRACE("AllocUserMem %d\n", uContig);
58 return 1;
61 /***********************************************************************
62 * FreeAllMem
64 void WINAPI FreeAllMem(void)
66 TRACE("FreeAllMem\n");
69 /***********************************************************************
70 * FreeAllGDIMem
72 void WINAPI FreeAllGDIMem(void)
74 TRACE("FreeAllGDIMem\n");
77 /***********************************************************************
78 * FreeAllUserMem
80 void WINAPI FreeAllUserMem(void)
82 TRACE("FreeAllUserMem\n");
85 /***********************************************************************
88 void WINAPI GetFreeAllUserMem(void)
90 TRACE("GetFreeAllUserMem\n");
93 /***********************************************************************
94 * GetFreeFileHandles
96 INT16 WINAPI GetFreeFileHandles(void)
98 TRACE("GetFreeFileHandles\n");
100 #ifndef OPEN_MAX
101 return _POSIX_OPEN_MAX;
102 #else
103 return OPEN_MAX;
104 #endif
107 /***********************************************************************
108 * UnAllocDiskSpace
110 void WINAPI UnAllocDiskSpace(UINT16 drive)
112 TRACE("UnAllocDiskSpace %d\n", drive);
115 /***********************************************************************
116 * UnAllocFileHandles
118 void WINAPI UnAllocFileHandles(void)
120 TRACE("GetFreeAllUserMem\n");