VGetScreenSize
Name
VGetScreenSize - returns the width and height of the screen in pixels.
Synopsis
VGetScreenSize(width, height)
int *width; /*RETURN*/
int *height; /*RETURN*/
Description
VGetScreenSize returns the width and height of the screen in pixels.
Return Value
0 - work successfully.
Parameters
width, height - returns the width and height of the screen.
Side Effects
None.
Entry Conditions
If width or height is NULL, or VOpenServer is not called earlier,
VGetScreenSize prints an error message to the standard error stream,
produces a core dump file and exits from the current process.
Related Functions
VOpenServer,
VGetServerScreenInformation.