6 /* #define DEBUG_STRESS */
7 /* #undef DEBUG_STRESS */
11 int WINAPI AllocDiskSpace(long lLeft, UINT16 uDrive)
13 dprintf_stress(stdnimp, "stress.dll: AllocDiskSpace %d, %ld\n", uDrive, lLeft);
18 int WINAPI AllocFileHandles(int Left)
20 dprintf_stress(stddeb, "stress.dll: AllocFileHandles %d\n", Left);
28 BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
30 dprintf_stress(stddeb, "stress.dll: AllocGDIMem %d\n", uLeft);
35 BOOL16 WINAPI AllocMem(DWORD dwLeft)
37 dprintf_stress(stdnimp, "stress.dll: AllocMem %ld\n", dwLeft);
42 BOOL16 WINAPI AllocUserMem(UINT16 uContig)
44 dprintf_stress(stddeb, "stress.dll: AllocUserMem %d\n", uContig);
49 void WINAPI FreeAllMem(void)
51 dprintf_stress(stddeb, "stress.dll: FreeAllMem\n");
54 void WINAPI FreeAllGDIMem(void)
56 dprintf_stress(stddeb, "stress.dll: FreeAllGDIMem\n");
59 void WINAPI FreeAllUserMem(void)
61 dprintf_stress(stddeb, "stress.dll: FreeAllUserMem\n");
64 void WINAPI GetFreeAllUserMem(void)
66 dprintf_stress(stddeb, "stress.dll: GetFreeAllUserMem\n");
69 int WINAPI GetFreeFileHandles(void)
71 dprintf_stress(stddeb, "stress.dll: GetFreeFileHandles\n");
74 return _POSIX_OPEN_MAX;
80 void WINAPI UnAllocDiskSpace(UINT16 drive)
82 dprintf_stress(stddeb, "stress.dll: UnAllocDiskSpace %d\n", drive);
85 void WINAPI UnAllocFileHandles(void)
87 dprintf_stress(stddeb, "stress.dll: GetFreeAllUserMem\n");