Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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

See also

AllocateSharedMemory

CreateSharedMemory

LSA_SECPKG_FUNCTION_TABLE

SpInitialize


Feedback

Was this page helpful?

Additional resources