Platform SDK: Logon Authentication |
The FreeContextBuffer function enables callers of security package functions to free a memory buffer allocated by the security package. For example, the InitializeSecurityContext function may allocate a buffer for returning the outbound context token.
SECURITY_STATUS FreeContextBuffer( PVOID pvContextBuffer // buffer to free );
If the function succeeds, the return value is SEC_E_OK.
If the function fails, the return value is a nonzero error code.
The FreeContextBuffer function can free any memory allocated by a security package.
The prototype for this function can be found in Sspi.h.
Windows NT/2000: Requires Windows NT 3.51 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Sspi.h; include Security.h.
Library: Use Secur32.lib.