Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The following table shows the memory management functions with a description of the purpose of each.
Function | Description |
---|---|
Obtains the major and minor version numbers of the system that the specified DLL expects to run on. |
|
Obtains a handle to the heap of the calling process. |
|
Obtains information on the physical and virtual memory of the system. |
|
Allocates a block of memory from a heap. |
|
Compact a specified heap by combining adjacent free blocks of memory and decommitting large free blocks of memory. |
|
Creates a heap object that is private to the calling process. |
|
Destroys the specified heap object. |
|
Frees a memory block allocated from a heap by the HeapAllocor HeapReAllocfunction. |
|
Reallocates a block of memory from a heap. |
|
Returns the size, in bytes, of a memory block allocated from a heap by the HeapAllocor HeapReAllocfunction. |
|
Validates the specified heap. HeapValidatescans all the memory blocks in the heap and verifies that the heap control structures maintained by the heap manager are in a consistent state. The HeapValidatefunction can also be used to validate a single memory block within a specified heap without checking the validity of the entire heap. |
|
Checks whether the calling process has read access to the memory at the specified address. |
|
Checks whether the calling process has read access to the specified range of memory. |
|
Checks whether the calling process has write access to the specified range of memory. |
|
Allocates the specified number of bytes from the heap. |
|
Frees the specified local memory object and invalidates its handle. |
|
Changes the size or the attributes of a specified local memory object. |
|
Returns the current size, in bytes, of the specified local memory object. |
|
Fills a block of memory with zeros. |
|
Reserves or commits a region of pages in the virtual address space of the calling process. |
|
Releases or decommits, or both, a region of pages within the virtual address space of the calling process. |
|
This function changes the access protection on a region of committed pages in the virtual address space of the calling process. |
|
This function provides information about a range of pages in the virtual address space of the calling process. |