CEGetSys

Up
Basic Dialog
CEGetDev
CEGetSys
CEMandelBrot
CEPolyBezier
CEPolyDraw
DrawingLines
DrawingText
DrawSplines
EnumerateFonts
HelloWinCE
Minimal
MouseResolution
MultiScreen Dialog
Palette Animation
Palette Gradient
Palette Viewer
CommandBands
ShowingFontInfo
Tray Application
What OS Version

Home
Up

 

Name: CEGetSys

Download: CEGetSys.zip

What is it: Demonstrates some of the information that can be determined using various Get(system) Information API's.

Image47.gif (4885 bytes)

Features:

This function walks through the system colors.

void doSysColors (HWND hwnd)

This function gets system info.

void doInfo(HWND hwnd)
{
SYSTEM_INFO  si;
  GetSystemInfo (&si);

}

This function gets system metrics.

void doMetrics   (HWND hwnd){
for (i = 0; i<sizeof(SystemMetrics)/sizeof(LookupEntry); i++) {
    answer = GetSystemMetrics (SystemMetrics[i].Value);

}

This function gets system palette entries.

void doPalette(HWND hwnd)
{
nEntries = GetSystemPaletteEntries (hdc, 0,0, NULL);

}

This function gets local time.

void doLocalTime (HWND hwnd)
{
GetLocalTime (&st);
..
}

This function gets system time.

void doTime (HWND hwnd)
{
GetSystemTime (&st);

}

This function gets version info.

void doVersionEx (HWND hwnd)
{
OSVERSIONINFO osvi;

}

 Feedback mailto:ppcdev@conduits.com