DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

CloseScreen(D3nfb)


CloseScreen -- NFB routine to close screen and free memory

Synopsis

#include "nfbProcs.h"

Bool xxxCloseScreen ( int index, ScreenPtr pScreen );

xxx is the routine's prefix. Valid values are nfb to use the default routine or your driver's prefix if you are rewriting this routine to use the specific capabilities of your hardware.

Description

The nfbCloseScreen( ) routine calls SetText(D3nfb) and the driver's CloseScreen routine when the user closes the screen. It is guaranteed that no more drawing will occur after this routine is called.

Exit codes

None

Usage

Driver writers must provide a CloseScreen( ) routine for their drivers to free any private data allocated during the initialization of the adapter. All private data should be kept in a per-screen private structure, usually referenced by xxxPriv.

CloseScreen( ) should not set the graphics back into text mode; the SetText(D3nfb) routine will do that.

Version applicability

This function is supported for NFB drivers on all releases of SCO OpenServer 5, SVR5, and AIX 5L.

Source files


Routine source
./hw/sco/ports/nfb/nfbScrInit.c

Driver source file
xxxInit.C

References

nfbGCOps(D4nfb), scoScreenInfo(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005