Sweden-Number/dlls/stress/stress_main.c

87 lines
1.2 KiB
C

#include <limits.h>
#include "stress.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(stress)
INT16 WINAPI AllocDiskSpace(LONG lLeft, UINT16 uDrive)
{
FIXME("(%d, %ld) - stub\n",
uDrive, lLeft);
return 1;
}
INT16 WINAPI AllocFileHandles(INT16 Left)
{
TRACE("(%d) - stub\n", Left);
if (Left < 0)
return -1;
else
return 1;
}
BOOL16 WINAPI AllocGDIMem(UINT16 uLeft)
{
TRACE("(%d) - stub\n", uLeft);
return 1;
}
BOOL16 WINAPI AllocMem(DWORD dwLeft)
{
FIXME("(%ld) - stub\n", dwLeft);
return 1;
}
BOOL16 WINAPI AllocUserMem(UINT16 uContig)
{
TRACE("AllocUserMem %d\n", uContig);
return 1;
}
void WINAPI FreeAllMem(void)
{
TRACE("FreeAllMem\n");
}
void WINAPI FreeAllGDIMem(void)
{
TRACE("FreeAllGDIMem\n");
}
void WINAPI FreeAllUserMem(void)
{
TRACE("FreeAllUserMem\n");
}
void WINAPI GetFreeAllUserMem(void)
{
TRACE("GetFreeAllUserMem\n");
}
INT16 WINAPI GetFreeFileHandles(void)
{
TRACE("GetFreeFileHandles\n");
#ifndef OPEN_MAX
return _POSIX_OPEN_MAX;
#else
return OPEN_MAX;
#endif
}
void WINAPI UnAllocDiskSpace(UINT16 drive)
{
TRACE("UnAllocDiskSpace %d\n", drive);
}
void WINAPI UnAllocFileHandles(void)
{
TRACE("GetFreeAllUserMem\n");
}