Expand Minimize

AllocateLsaHeap function

Allocates memory on the heap. Some information passed back to the LSA is expected to be allocated using this function. Memory allocated with this routine must be deallocated with the FreeLsaHeap function.

Syntax


PVOID AllocateLsaHeap(
  _In_  ULONG 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.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

LSA_DISPATCH_TABLE
LSA_SECPKG_FUNCTION_TABLE

 

 

Community Additions

ADD
Show:
© 2014 Microsoft