AIPlatformMemorySuite Struct Reference
[API Suite List]
This suite provides functions with which to manage memory for ASSliceSettings values, used with the AIOptimizationSettingsSuite.
More...
#include <AIPlatformMemory.h>
List of all members.
Detailed Description
This suite provides functions with which to manage memory for ASSliceSettings values, used with the AIOptimizationSettingsSuite.
Do not use them for other memory management. In general, use the AIBlockSuite or SPBlocksSuite to allocate memory.
Member Data Documentation
Frees a block of memory allocated with New().
- Parameters:
-
| handle | The memory handle object. |
Retrieves the size of a block of memory allocated with New().
- Parameters:
-
| handle | The memory handle object. |
| size | [out] A buffer in which to return the number of bytes allocated. |
Locks a memory block, so that the operating system does not move it.
This is the equivalent of HLock() in Mac OS or GlobalLock() in Windows.
- Parameters:
-
| handle | The memory handle. |
| dataPtr | [out] A buffer in which to return a pointer to the locked memory block. |
Allocates a block of memory.
- Parameters:
-
| size | The number of bytes to allocate. |
| handle | [out] A buffer in which to return the memory handle object. |
Resizes a block of memory allocated with New().
- Parameters:
-
| handle | [in, out] A buffer in which to pass the old object and return the resized object. |
| newSize | The number of bytes to allocate. |
Unlocks a memory block that was locked with Lock().
- Parameters:
-
| handle | The memory handle. |
The documentation for this struct was generated from the following file: