FreeContextBuffer function (sspi.h)
The FreeContextBuffer function enables callers of security package functions to free memory buffers allocated by the security package.
Syntax
SECURITY_STATUS SEC_ENTRY FreeContextBuffer(
[in] PVOID pvContextBuffer
);
Parameters
[in] pvContextBuffer
A pointer to memory to be freed.
Return value
If the function succeeds, the function returns SEC_E_OK.
If the function fails, it returns a nonzero error code.
Remarks
Memory buffers are typically allocated by the InitializeSecurityContext (General) and AcceptSecurityContext (General) functions.
The FreeContextBuffer function can free any memory allocated by a security package.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | sspi.h (include Security.h) |
Library | Secur32.lib |
DLL | Secur32.dll |