FreeContextBuffer

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

At a Glance

Header file: Sspi.h
Windows CE versions: 2.10 and later

Syntax

SECURITY_STATUS FreeContextBuffer( PVOID pvContextBuffer);

Parameters

pvContextBuffer

Void pointer to memory allocated by the security provider

Return Values

SEC_E_OK indicates success. A nonzero error value indicates failure.

Remarks

The FreeContextBuffer function can free memory allocated by a security package.

See Also

InitializeSecurityContext