LSA_FREE_SHARED_MEMORY callback function (ntsecpkg.h)
The FreeSharedMemory function frees a block of shared memory previously allocated by the AllocateSharedMemory function.
Syntax
LSA_FREE_SHARED_MEMORY LsaFreeSharedMemory;
void LsaFreeSharedMemory(
[in] PVOID SharedMem,
[in] PVOID Memory
)
{...}
Parameters
[in] SharedMem
Pointer to the shared memory section previously reserved using the CreateSharedMemory function.
[in] Memory
Pointer to the memory previously allocated from the shared memory section specified by the SharedMem parameter, using the AllocateSharedMemory function.
Return value
None
Remarks
A pointer to the FreeSharedMemory function is available in the LSA_SECPKG_FUNCTION_TABLE structure received by the SpInitialize function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | ntsecpkg.h |