AllocateGCPrivate, AllocateGCPrivateIndex --
allocate or query GC private
Synopsis
Bool
AllocateGCPrivate(pScreen, index, amount)
ScreenPtr pScreen;
int index;
unsigned amount;
int
AllocateGCPrivateIndex()
Description
AllocateGCPrivate( )
allocates a GC private in the driver's
ScreenPtr structure.
AllocateGCPrivateIndex( )
returns a GC private index
and increments to the next available index.
Arguments
pScreen
pointer to the X screen structure
index
index returned by a call to the
AllocateGCPrivateIndex( )
function.
amount
size of the GC private structure.
Exit codes
AllocateGCPrivate( )
returns TRUE on success and FALSE on failure.
AllocateGCPrivateIndex( )
returns a GC private index.
AllocateGCPrivateIndex( )
returns
Usage notes
Call the
allocateGCPrivate( )
function with an index returned by a call from the
AllocateGCPrivateIndex( ).
Version applicability
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5,
and AIX 5L.