XSGIvcQueryMonitorName(3)XSGIvcQueryMonitorName(3)
NAME
XSGIvcQueryMonitorName - Return name of monitor connected to
a video channel
SYNOPSIS
#include <X11/extensions/XSGIvc.h>
Status XSGIvcQueryMonitorName(Display *display,
int screen,
int channel,
char **mname_return)
PARAMETER
display Specifies the connection to the X server.
screen Specifies the screen of the X server.
channel The channel number about which information
should be returned
mname_return A pointer to the variable which is to receive
the pointer to a null-terminated character
string. Use XFree to free the memory for the
string when it is no longer needed.
DESCRIPTION
XSGIvcQueryMonitorName returns the monitory type name of the
monitor connected to the specified channel.
RETURN VALUE
If chantab and montab files are missing, and no monitor is
connected, or the monitor does not report its range, the
function will return FALSE, the contents of the structure
will be undefined, and the mname_return pointer will be
NULL. If the monitor status is successfully determined, the
function returns TRUE.
Parameter errors are reported via BadValue or BadMatch.
SEE ALSO
XSGIvc, chantab, montab
Page 1 (printed 7/20/06)