GetScreenSize

int GetScreenSize (int *height, int *width);

Purpose

Returns the height and width of the screen in pixels.

Parameters

Output
Name Type Description
height integer Height of the screen in pixels.

You can pass NULL.
width integer Width of the screen in pixels.

You can pass NULL.

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Code Error Message String
xx Success