Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function enables callers of security provider functions to free a memory buffer allocated by the security provider. For example, the InitializeSecurityContextfunction can allocate a buffer for retrieving the outbound context token.

Syntax

SECURITY_STATUS SEC_ENTRY FreeContextBuffer( 
  void SEC_FAR*
 pvContextBuffer 
);

Parameters

pvContextBuffer

[in] Pointer to memory allocated by the security provider.

Return Value

Returns SEC_E_OK to indicate success. A nonzero error value indicates failure.

Remarks

This function can free memory allocated by a security package.

Requirements

Header security.h, sspi.h
Library secur32.lib
Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Smartphone 2002 and later

See Also