CeGetSystemMetrics

The CeGetSystemMetrics function retrieves the dimensions (widths and heights) of Windows display elements and system configuration settings. All dimensions retrieved by CeGetSystemMetrics are in pixels. This is the RAPI version of the GetSystemMetrics function.

Syntax

INT CeGetSystemMetrics(INT nIndex);

At a Glance

Header file: Rapi.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Remarks

When writing applications for Windows CE versions 1.0 and 1.01, use the PegGetSystemMetrics function.

For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.

See Also

GetSystemMetrics