Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ListDepths(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XListDepths — determine the depths available on a given screen. 

SYNOPSIS

int ∗XListDepths(display, screen_number, count_return)
   Display ∗display;
   int screen_number;
   int ∗count_return;

ARGUMENTS

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

screen_number
Specifies the appropriate screen number on the host server.

count_return
Returns the number of depths.

RETURNS

The list of depths, or NULL on failure. 

AVAILABILITY

Release 4 and later. 

DESCRIPTION

XListDepths() returns the array of depths that are available on the specified screen.  If the specified screen_number is valid and sufficient memory for the array can be allocated, XListDepths() sets count_return to the number of available depths.  Otherwise, it does not set count_return and returns NULL.  To release the memory allocated for the array of depths, use XFree(). 

SEE ALSO

XDefaultDepthOfScreen(), XDefaultDepth(), XListPixmapFormats(). 

Xlib Reference Manual

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