ReactOS 0.4.17-dev-357-ga8f14ff
_msize.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS CRT heap support library
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: Implementation of _msize
5 * COPYRIGHT: Copyright 2026 Timo Kreuzer <timo.kreuzer@reactos.org>
6 */
7
8#include <malloc.h>
9#include <windef.h>
10#include <winbase.h>
11
12size_t __cdecl _msize(void* Block)
13{
14 return HeapSize(GetProcessHeap(), 0, Block);
15}
size_t __cdecl _msize(void *Block)
Definition: _msize.c:12
#define GetProcessHeap()
Definition: compat.h:736
#define __cdecl
Definition: corecrt.h:121
SIZE_T WINAPI HeapSize(HANDLE, DWORD, LPCVOID)