Expand Minimize
0 out of 1 rated this helpful - Rate this topic

FreeContextBuffer function

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

pvContextBuffer [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Sspi.h (include Security.h)

Library

Secur32.lib

DLL

Secur32.dll

See also

SSPI Functions

 

 

Send comments about this topic to Microsoft

Build date: 1/2/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.