mirror of
https://github.com/reactos/reactos.git
synced 2026-07-06 19:54:31 +08:00
- Implement HeapWalk (based on Wine)
svn path=/trunk/; revision=37162
This commit is contained in:
@@ -251,16 +251,21 @@ HeapUsage(HANDLE hHeap,
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
HeapWalk(HANDLE hHeap,
|
||||
HeapWalk(HANDLE hHeap,
|
||||
LPPROCESS_HEAP_ENTRY lpEntry)
|
||||
{
|
||||
/* Not implemented */
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
NTSTATUS Status;
|
||||
|
||||
Status = RtlWalkHeap(hHeap, lpEntry);
|
||||
|
||||
if (Status)
|
||||
SetLastError(RtlNtStatusToDosError(Status));
|
||||
|
||||
return !Status;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
||||
Reference in New Issue
Block a user