Moved some heap stubs

svn path=/trunk/; revision=1875
This commit is contained in:
Eric Kohl 2001-05-03 06:13:05 +00:00
parent 973bed37c6
commit 96a826ad92
2 changed files with 97 additions and 85 deletions

View file

@ -1,4 +1,4 @@
/* $Id: heap.c,v 1.18 2001/02/17 17:42:46 ekohl Exp $
/* $Id: heap.c,v 1.19 2001/05/03 06:12:50 ekohl Exp $
*
* kernel/heap.c
* Copyright (C) 1996, Onno Hovers, All rights reserved
@ -104,4 +104,99 @@ BOOL WINAPI HeapValidate(HANDLE hheap, DWORD flags, LPCVOID pmem)
}
DWORD
STDCALL
HeapCreateTagsW (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapExtend (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3
)
{
#if 0
NTSTATUS Status;
Status = RtlExtendHeap(Unknown1, Unknown2, Unknown3, Unknown4);
if (!NT_SUCCESS(Status))
{
SetLastErrorByStatus(Status);
return FALSE;
}
return TRUE;
#endif
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapQueryTagW (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3,
DWORD Unknown4
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapSummary (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapUsage (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3,
DWORD Unknown4
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
WINBOOL
STDCALL
HeapWalk (
HANDLE hHeap,
LPPROCESS_HEAP_ENTRY lpEntry
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/* EOF */

View file

@ -1,4 +1,4 @@
/* $Id: stubs.c,v 1.27 2001/04/05 01:54:42 ekohl Exp $
/* $Id: stubs.c,v 1.28 2001/05/03 06:13:05 ekohl Exp $
*
* KERNEL32.DLL stubs (unimplemented functions)
* Remove from this file, if you implement them.
@ -763,89 +763,6 @@ GetVDMCurrentDirectories (
}
DWORD
STDCALL
HeapCreateTagsW (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapExtend (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapQueryTagW (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3,
DWORD Unknown4
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapSummary (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
DWORD
STDCALL
HeapUsage (
DWORD Unknown0,
DWORD Unknown1,
DWORD Unknown2,
DWORD Unknown3,
DWORD Unknown4
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
WINBOOL
STDCALL
HeapWalk (
HANDLE hHeap,
LPPROCESS_HEAP_ENTRY lpEntry
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
WINBOOL
STDCALL
IsDBCSLeadByte (