Export (0) Print
Expand All
Expand Minimize

DeleteSharedMemory function

The DeleteSharedMemory function releases a section of memory that is shared by clients and a security package.

Syntax


BOOLEAN DeleteSharedMemory(
  _In_  PVOID SharedMem
);

Parameters

SharedMem [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Ntsecpkg.h

See also

AllocateSharedMemory
CreateSharedMemory
FreeSharedMemory
LSA_SECPKG_FUNCTION_TABLE
SpInitialize

 

 

Community Additions

ADD
Show:
© 2014 Microsoft