XSGIvcQueryVideoScreenInfo(3)
XSGIvcQueryVideoScreenInfo - Query video screen, graphics type
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME XSGIvcQueryVideoScreenInfo - Query video screen, graphics type SYNOPSIS #include <X11/extensions/XSGIvc.h> Status XSGIvcQueryVideoScreenInfo(Display *display, int screen, XSGIvcScreenInfo *sinfo_return) PARAMETER display Specifies the connection to the X server. screen Specifies the screen of the X server. sinfo_return A pointer to the XSGIvcScreenInfo variable which is to receive the corresponding information. DESCRIPTION XSGIvcQueryVideoScreenInfo returns a XSGIvcServerInfo structure containing video server information for a specified screen. RETURN VALUE This function returns TRUE if successful, FALSE upon failure. Parameter errors are reported via BadValue or BadMatch. STRUCTURES The structure returned is shown below. /* See flags in XSGIvcScreenInfo */ #define XSGIVC_SIFFormatPerChannel (1L << 0) /* Formats change per channel */ #define XSGIVC_SIFFormatCombination (1L << 1) /* Formats change via combination */ typedef struct { int numChannels; /* Number of output channels */ long flags; /* See XSGIVC_SIF... masks */ Bool lockOp; /* XSGIvcSetScreenInputSyncSource usable */ char graphicsType[XSGIVC_NAME_MAX]; /* Names of gfx hw */ int numExternalSync; /* Number of external sync ports */ } XSGIvcScreenInfo; numChannels specifies the number of output channels on this server. You may use set or query operations on channels numbering 0 to numChannels - 1. The flags field may contain the following mask bits: XSGIVC_SIFFormatPerChannel Video formats may be changed for each channel. Servers with multiple channels need not use format combinations. XSGIVC_SIFFormatCombination Video formats may be changed en masse with a format combination. lockOp describes whether the server has the capability to lock to external sync sources via the XSGIvcSetScreenInputSyncSource function. graphicsType contains a null-terminated ASCII string containing the name of the graphics hardware type. The name is unique for each type of graphics hardware. numExternalSync contains the number of external sync sources. SEE ALSO XSGIvc, XSGIvcListVideoFormats, XSGIvcSetScreenInputSyncSource