mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
The purpose is to link to this library for wine modules that use only malloc/free/calloc/_recalloc, so they don't require to be linked to msvcrt.
16 lines
371 B
C
16 lines
371 B
C
/*
|
|
* PROJECT: ReactOS CRT heap support library
|
|
* LICENSE: MIT (https://spdx.org/licenses/MIT)
|
|
* PURPOSE: Implementation of _msize
|
|
* COPYRIGHT: Copyright 2026 Timo Kreuzer <[email protected]>
|
|
*/
|
|
|
|
#include <malloc.h>
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
|
|
size_t __cdecl _msize(void* Block)
|
|
{
|
|
return HeapSize(GetProcessHeap(), 0, Block);
|
|
}
|