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.
INT CeGetSystemMetrics(INT nIndex);
Header file: | Rapi.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
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.