Important: The information in this document is obsolete and should not be used for new development.
GXGetGraphicsClients
You can use theGXGetGraphicsClients
function to list all of the graphics clients that have been allocated by QuickDraw GX.
long GXGetGraphicsClients(long index, long count, gxGraphicsClient clients[]);
index
- The one-based index into the list of all graphics clients that indicates the first client to return.
count
- The number of graphics clients to be returned.
clients
- An array of graphics client references. On return, the array contains references to the allocated graphics clients.
- function result
- The number of graphics clients returned.
DESCRIPTION
TheGXGetGraphicsClients
function copies the graphics client references specified by theindex
andcount
parameters into the array. It will return the graphics clients that are owned by other applications in addition to the ones owned by the calling application. Specifying the value 1 for theindex
parameter returns the first client. Specifying thegxSelectToEnd
constant for thecount
parameter returns all remaining graphics clients, starting with the indexed graphics client. Ifnil
is passed for theclients
parameter, no graphics clients are returned.SEE ALSO
For additional information about graphics clients, see the section "About QuickDraw GX Memory Management" beginning on page 2-3.Multiple graphics clients are discussed in the section"Working With Multiple Graphics Clients" beginning on page 2-16.