Heap user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPISys.au3>.

 

User Defined Function Description
_WinAPI_CreateBuffer Allocates a block of memory from the internal library heap
_WinAPI_CreateBufferFromStruct Allocates a block of memory from the internal library heap and initializes it with the structure's data
_WinAPI_CreateString Copies a specified string to the newly allocated memory block and returns its pointer
_WinAPI_FreeMemory Frees a memory block in the internal library heap
_WinAPI_GetMemorySize Retrieves the size of a memory block allocated from the internal library heap
_WinAPI_IsMemory Determines whether the specified pointer points to the memory block in the internal library heap