Admin Production ni-theme
Current Publication

GetScreenSize

LabWindows/CVI

GetScreenSize

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

Purpose

Returns the height and width of the screen in pixels.

Parameters

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

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

You can pass NULL.

Return Value

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

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later