EN
Konten ini tidak tersedia dalam bahasa Anda dan berikut adalah versi bahasa Inggris.

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

 

 

Tampilkan: