Expand Minimize
This topic has not yet been rated - Rate this topic

FreeSharedMemory function

The FreeSharedMemory function frees a block of shared memory previously allocated by the AllocateSharedMemory function.

Syntax


VOID FreeSharedMemory(
  _In_  PVOID SharedMem,
  _In_  PVOID Memory
);

Parameters

SharedMem [in]

Pointer to the shared memory section previously reserved using the CreateSharedMemory function.

Memory [in]

Pointer to the memory previously allocated from the shared memory section specified by the SharedMem parameter, using the AllocateSharedMemory function.

Return value

This function does not return a value.

Remarks

A pointer to the FreeSharedMemory function is 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
LSA_SECPKG_FUNCTION_TABLE
SpInitialize

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.