|
|
|
Name: CEGetSys Download: CEGetSys.zip What is it: Demonstrates some of the information that can be determined using various Get(system) Information API's.
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 |