Partager via


FreeContextBuffer

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function enables callers of security provider functions to free a memory buffer allocated by the security provider. For example, the InitializeSecurityContext function 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

Reference

InitializeSecurityContext