DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

AllocateScreenPrivate(D3nfb)


AllocateScreenPrivateIndex -- allocate a screen private index

Synopsis

int
AllocateScreenPrivateIndex()

Description

AllocateScreenPrivateIndex( ) allocates a new screen private index for the screen's nfbScrnPriv(D4nfb) structure.

Arguments

None.

Exit codes

Returns index for Screen Private on success; returns -1 on failure.

Usage notes

These routines can be called after some screens have been created, so the driver should be coded to avoid resizing existing the nfbScrnPriv(D4nfb) structure.

Version applicability

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

Source files


Routine source
./common/X11R6/programs/Xserver/dix/privates.c

Driver source file
xxxInit.c

References

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