Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ilDestroyCo(3X) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

IL_CREATE_CONTEXT(3X)

ilDestroyObject(3X)

ilDestroyContext(3X)

NAME

ilDestroyContext − destroy an Image Library context

SYNOPSIS

ilBool
ilDestroyContext (

ilContext context);

DESCRIPTION

ilDestroyContext() destroys an ilContext data structure, which makes it unavailable for further use and frees all associated resources.  Resources include all image library objects and lists of file image descriptors created with this context, and all objects associated with this context. 

Objects can also be destroyed by ilDestroyObject(). 

context is a context created by IL_CREATE_CONTEXT(). 

RETURN VALUE

ilDestroyContext() always returns TRUE. 

ERRORS

No errors are returned. 

EXAMPLE

The following example creates and destroys an Image Library context

ilContext context;

ilError errCode;
.
.
.

if (!(errCode = IL_CREATE_CONTEXT(&context, 0))) return (errCode);
.
.
.

ilDestroyContext(context);

AUTHOR

ilDestroyContext() was developed by HP. 

SEE ALSO

IL_CREATE_CONTEXT(3X), ilDestroyObject(3X). 

Using the Image Developer’s Kit.

Hewlett-Packard Company  —  Image Library: February, 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026