Windows PowerShell command on Get-command Tspi_Context_FreeMemory
MyWebUniversity

Manual Pages for UNIX Operating System command usage for man Tspi_Context_FreeMemory

Introduction to Library Functions Tspi_Context_FreeMemory(3)

TCG Software Stack Developers Reference

NAME

Tspi_Context_FreeMemory - Free allocated memory for a given

context.

SYNOPSIS

#include

#include

#include

#include

#include

#include

#include

TSS_RESULT Tspi_Context_FreeMemory(TSS_HCONTEXT hContext, BYTE* rgbMemory);

DESCRIPTION

Tspi_Context_FreeMemory frees memory allocated by the TSS

Service Provider on a per-context basis. This should be

used before Tspi_Context_Close is called, to avoid memory

leaks.

PARAMETERS

hContext The hContext parameter is the handle to the local context. rgbMemory The rgbMemory parameter is a pointer to the memory block to be freed. If this is NULL, all memory blocks bound to the context are freed. RETURN CODES

Tspi_Context_FreeMemory returns TSS_SUCCESS on success, oth-

erwise one of the following values is returned:

TSS_E_INVALID_HANDLE

hContext is not a valid handle.

TSS_E_INTERNAL_ERROR

An internal SW error has been detected. CONFORMING TO

Tspi_Context_FreeMemory conforms to the Trusted Computing

Group Software Specification version 1.1 Golden

TSS 1.1 Last change: 2004-05-25 1

Introduction to Library Functions Tspi_Context_FreeMemory(3)

SEE ALSO

Tspi_Context_Create(3), Tspi_Context_Close(3).

ATTRIBUTES

See attributes(5) for descriptions of the following attri-

butes:

__________________________________________________

| ATTRIBUTE TYPE | ATTRIBUTE VALUE |

|____________________|_____________________________|_

| Availability | library/security/trousers |

|____________________|_____________________________|_

| Interface Stability| Uncommitted |

|____________________|____________________________|

NOTES Source for trousers is available at http://opensolaris.org

and at http://sourceforge.net/projects/trousers. Documenta-

tion is available at file:///usr/share/man, and http://sourceforge.net/projects/trousers.

TSS 1.1 Last change: 2004-05-25 2




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™