Share via


FreeContextBuffer (Compact 2013)

3/28/2014

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

See Also

Reference

Authentication Services Functions
InitializeSecurityContext