다음을 통해 공유


FreeContextBuffer (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Authentication Services Functions
InitializeSecurityContext