Funktionreferenz


_WinAPI_GetMemorySize


Retrieves the size of a memory block allocated from the internal library heap

#include <WinAPIMem.au3>
_WinAPI_GetMemorySize ( $pMemory )

Parameter

$pMemory A pointer to the valid memory block whose size to be retrieved.

Rückgabewert

Success: The size of the specified memory block, in bytes.
Failure: 0 and sets the @error flag to non-zero.

Bemerkungen

The _WinAPI_GetMemorySize() function accepts only the pointers returned by some _WinAPI_* functions (see description).