Query: xhpgetservermode
OS: hpux
Section: 3x
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XHPGetServerMode(3X) XHPGetServerMode(3X)NAMEXHPGetServerMode - Get the mode of the specified screen.SYNOPSISint XHPGetServerMode (display, screen) Display *display; int screen;ARGUMENTSdisplay Specifies the connection to the X server. screen Specifies the number of the screen whose mode is requested.DESCRIPTIONThis request enables a client program to determine the mode of a screen. The mode returned is an integer that can be compared against one of the predefined modes. The following modes are defined: XHPOVERLAY_MODE The X server is running in the overlay planes. XHPIMAGE_MODE The X server is running in the image planes. XHPSTACKED_SCREENS_MODE The X server is running with the overlay and image planes on different screens. XHPCOMBINED_MODE The X server is running in both the overlay and image planes. These constants can be obtained by including the file /usr/include/X11/XHPproto.h. If an invalid screen number is used, a -1 will be returned by this request.DIAGNOSTICSThe return value indicates success or failure.RETURN VALUEThis request returns the display mode if the request is successful, and a -1 if an invalid screen id is used.FILES/usr/include/X11/XHPproto.hORIGINHewlett-Packard Company X Version 11 Release 5 XHPGetServerMode(3X)
| Related Man Pages | 
|---|
| allplanes(3x11) - ultrix | 
| connectionnumber(3x11) - ultrix | 
| defaultcolormap(3x11) - ultrix | 
| defaultscreen(3x11) - ultrix | 
| displaycells(3x11) - ultrix | 
| Similar Topics in the Unix Linux Community | 
|---|
| reading from a screen | 
| simulate text mode in X-Windows | 
| Display ??? | 
| Mac OS X: No video after changing resolutions in Display preferences | 
| Ravinder Learning |