GWES Migration (Windows Embedded CE 6.0)


This topic contains migration information that is specific to GWES.

For general migration information, see Migrating from an Earlier Version of Windows Embedded CE.

  • Prior to Windows Embedded CE 6.0, the GWES functionality was contained within gwes.exe. In Windows Embedded CE 6.0, GWES has been moved to gwes.dll, which is loaded by the kernel.

  • The signature of NonClientView_t::CalcClientRectWithVertScrollBars has changed from static void CalcClientRectWithVertScrollBars(RECT* lprc) to static void CalcClientRectWithVertScrollBars(RECT* lprc, DWORD dwExStyle). For more information, see the topic NonClientView_t::CalcClientRectWithVertScrollBars.
  • As of Windows CE 5.0 , the notification LED drivers are no longer part of GWES component. Instead, they are now part of the Device Manager component. For more information about how to move a Notification LED Driver from GWES to the Device Manager, see Notification LED Driver Migration.
  • Notification sent by GWES to the Shell via WM_SHELLNOTIFY have changed. See Shell Migrationfor details.

  • As of Windows CE .NET 4.2, the replaceable skin Catalog item (SYSGEN_REPLACESKIN) does not exist in the Catalog; however, support is still available in Windows CE .NET 4.2 and later. To use the replaceable skin Catalog item, replace all occurrences of SYSGEN_REPLACESKIN in your Windows CE .NET 4.0 and 4.1 based OS designs with __SYSGEN_REPLACESKIN.
  • In Windows CE .NET 4.2, the default out of memory (OOM) critical threshold set by OOM was changed from 24K to 80K. The OOM low threshold remains at 128K.
    You can override these OOM settings in the registry or override the settings by calling the SetOOMEvent function if OOM is not included.

Community Additions