Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

Ntsecpkg.h

See also

SpInitialize

 

 

Community Additions

ADD
Show:
© 2015 Microsoft