AllocatePrivateHeap function
Allocates memory on the private heap.
Memory allocated with this routine must be deallocated with the FreePrivateHeap function.
Syntax
PVOID WINAPI AllocatePrivateHeap( _In_ SIZE_T Length );
Parameters
- Length [in]
-
Number of bytes to allocate from the heap.
Return value
This function returns a pointer to the allocated heap memory. If memory could not be allocated, the function returns NULL.
Remarks
A pointer to the AllocatePrivateHeap function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 1/2/2013