LSA_DELETE_SHARED_MEMORY callback function (ntsecpkg.h)
The DeleteSharedMemory function releases a section of memory that is shared by clients and a security package.
Syntax
LSA_DELETE_SHARED_MEMORY LsaDeleteSharedMemory;
BOOLEAN LsaDeleteSharedMemory(
[in] PVOID SharedMem
)
{...}
Parameters
[in] SharedMem
Pointer to shared memory previously reserved by the CreateSharedMemory function.
Return value
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
Remarks
The DeleteSharedMemory function releases the shared memory reserved by the CreateSharedMemory function.
To release shared memory allocated by the AllocateSharedMemory function, use the FreeSharedMemory function.
Pointers to these functions are 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 |