FIX: The NOTIFICATION_EVENT_NET_CONNECT and NOTIFICATION_EVENT_NET_DISCONNECT notification events are not triggered in Windows Embedded Compact 7

SYMPTOMS
Consider the following scenario:
  • You have an application that is running on a Windows Embedded Compact 7-based device.
  • The application has registered the NOTIFICATION_EVENT_NET_CONNECT and the NOTIFICATION_EVENT_NET_DISCONNECT notification events.
  • You connect the device to the network and then disconnect the device from the network.

In this scenario, you notice that the NOTIFICATION_EVENT_NET_CONNECT and the NOTIFICATION_EVENT_NET_DISCONNECT events are not triggered.

Note You can register a notification event by calling the CeSetUserNotificationEx function.
CAUSE
This problem occurs because the TCP/IP network stack does not trigger the NOTIFICATION_EVENT_NET_CONNECT or NOTIFICATION_EVENT_NET_DISCONNECT notification event.
RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update March 2012. In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Files that are included in this update package
File nameFile sizeDateTimePath
Afd.lib2,02608-Mar-201202:10Public\Common\Oak\Lib\Armv5\Checked
Afd.lib2,02608-Mar-201202:10Public\Common\Oak\Lib\Armv5\Debug
Afd.lib2,02608-Mar-201202:09Public\Common\Oak\Lib\Armv5\Retail
Afd.lib2,02608-Mar-201202:12Public\Common\Oak\Lib\Armv6\Checked
Afd.lib2,02608-Mar-201202:12Public\Common\Oak\Lib\Armv6\Debug
Afd.lib2,02608-Mar-201202:12Public\Common\Oak\Lib\Armv6\Retail
Afd.lib2,02608-Mar-201202:14Public\Common\Oak\Lib\Armv7\Checked
Afd.lib2,02608-Mar-201202:14Public\Common\Oak\Lib\Armv7\Debug
Afd.lib2,02608-Mar-201202:14Public\Common\Oak\Lib\Armv7\Retail
Afd.lib2,02608-Mar-201202:17Public\Common\Oak\Lib\Mipsii\Checked
Afd.lib2,02608-Mar-201202:16Public\Common\Oak\Lib\Mipsii\Debug
Afd.lib2,02608-Mar-201202:16Public\Common\Oak\Lib\Mipsii\Retail
Afd.lib2,02608-Mar-201202:19Public\Common\Oak\Lib\Mipsii_fp\Checked
Afd.lib2,02608-Mar-201202:19Public\Common\Oak\Lib\Mipsii_fp\Debug
Afd.lib2,02608-Mar-201202:18Public\Common\Oak\Lib\Mipsii_fp\Retail
Afd.lib2,03208-Mar-201202:21Public\Common\Oak\Lib\Sh4\Checked
Afd.lib2,03208-Mar-201202:21Public\Common\Oak\Lib\Sh4\Debug
Afd.lib2,03208-Mar-201202:21Public\Common\Oak\Lib\Sh4\Retail
Afd.lib2,03208-Mar-201202:23Public\Common\Oak\Lib\X86\Checked
Afd.lib2,03208-Mar-201202:23Public\Common\Oak\Lib\X86\Debug
Afd.lib2,03208-Mar-201202:23Public\Common\Oak\Lib\X86\Retail
Afd.dll262,14408-Mar-201202:10Public\Common\Oak\Target\Armv5\Checked
Afd.map210,06108-Mar-201202:10Public\Common\Oak\Target\Armv5\Checked
Afd.rel95,14808-Mar-201202:10Public\Common\Oak\Target\Armv5\Checked
Afd.dll397,31208-Mar-201202:10Public\Common\Oak\Target\Armv5\Debug
Afd.map218,58308-Mar-201202:10Public\Common\Oak\Target\Armv5\Debug
Afd.rel101,15108-Mar-201202:10Public\Common\Oak\Target\Armv5\Debug
Afd.dll159,74408-Mar-201202:09Public\Common\Oak\Target\Armv5\Retail
Afd.map97,50808-Mar-201202:09Public\Common\Oak\Target\Armv5\Retail
Afd.rel49,96608-Mar-201202:09Public\Common\Oak\Target\Armv5\Retail
Afd.dll258,04808-Mar-201202:12Public\Common\Oak\Target\Armv6\Checked
Afd.map210,06108-Mar-201202:12Public\Common\Oak\Target\Armv6\Checked
Afd.rel95,14808-Mar-201202:12Public\Common\Oak\Target\Armv6\Checked
Afd.dll397,31208-Mar-201202:12Public\Common\Oak\Target\Armv6\Debug
Afd.map218,58308-Mar-201202:12Public\Common\Oak\Target\Armv6\Debug
Afd.rel101,15108-Mar-201202:12Public\Common\Oak\Target\Armv6\Debug
Afd.dll159,74408-Mar-201202:12Public\Common\Oak\Target\Armv6\Retail
Afd.map97,50808-Mar-201202:12Public\Common\Oak\Target\Armv6\Retail
Afd.rel49,96608-Mar-201202:12Public\Common\Oak\Target\Armv6\Retail
Afd.dll258,04808-Mar-201202:15Public\Common\Oak\Target\Armv7\Checked
Afd.map210,06108-Mar-201202:15Public\Common\Oak\Target\Armv7\Checked
Afd.rel95,14808-Mar-201202:15Public\Common\Oak\Target\Armv7\Checked
Afd.dll393,21608-Mar-201202:14Public\Common\Oak\Target\Armv7\Debug
Afd.map218,58308-Mar-201202:14Public\Common\Oak\Target\Armv7\Debug
Afd.rel101,15108-Mar-201202:14Public\Common\Oak\Target\Armv7\Debug
Afd.dll155,64808-Mar-201202:14Public\Common\Oak\Target\Armv7\Retail
Afd.map97,38108-Mar-201202:14Public\Common\Oak\Target\Armv7\Retail
Afd.rel49,93708-Mar-201202:14Public\Common\Oak\Target\Armv7\Retail
Afd.dll331,77608-Mar-201202:17Public\Common\Oak\Target\Mipsii\Checked
Afd.map207,55408-Mar-201202:17Public\Common\Oak\Target\Mipsii\Checked
Afd.rel336,63108-Mar-201202:17Public\Common\Oak\Target\Mipsii\Checked
Afd.dll450,56008-Mar-201202:16Public\Common\Oak\Target\Mipsii\Debug
Afd.map216,04408-Mar-201202:16Public\Common\Oak\Target\Mipsii\Debug
Afd.rel443,55408-Mar-201202:16Public\Common\Oak\Target\Mipsii\Debug
Afd.dll200,70408-Mar-201202:16Public\Common\Oak\Target\Mipsii\Retail
Afd.map95,13908-Mar-201202:16Public\Common\Oak\Target\Mipsii\Retail
Afd.rel184,46808-Mar-201202:16Public\Common\Oak\Target\Mipsii\Retail
Afd.dll331,77608-Mar-201202:19Public\Common\Oak\Target\Mipsii_fp\Checked
Afd.map207,55408-Mar-201202:19Public\Common\Oak\Target\Mipsii_fp\Checked
Afd.rel336,63108-Mar-201202:19Public\Common\Oak\Target\Mipsii_fp\Checked
Afd.dll450,56008-Mar-201202:19Public\Common\Oak\Target\Mipsii_fp\Debug
Afd.map216,04408-Mar-201202:19Public\Common\Oak\Target\Mipsii_fp\Debug
Afd.rel443,55408-Mar-201202:19Public\Common\Oak\Target\Mipsii_fp\Debug
Afd.dll200,70408-Mar-201202:18Public\Common\Oak\Target\Mipsii_fp\Retail
Afd.map95,13908-Mar-201202:18Public\Common\Oak\Target\Mipsii_fp\Retail
Afd.rel184,46808-Mar-201202:18Public\Common\Oak\Target\Mipsii_fp\Retail
Afd.dll237,56808-Mar-201202:21Public\Common\Oak\Target\Sh4\Checked
Afd.map210,06208-Mar-201202:21Public\Common\Oak\Target\Sh4\Checked
Afd.rel161,38408-Mar-201202:21Public\Common\Oak\Target\Sh4\Checked
Afd.dll323,58408-Mar-201202:21Public\Common\Oak\Target\Sh4\Debug
Afd.map218,95908-Mar-201202:21Public\Common\Oak\Target\Sh4\Debug
Afd.rel179,27708-Mar-201202:21Public\Common\Oak\Target\Sh4\Debug
Afd.dll147,45608-Mar-201202:21Public\Common\Oak\Target\Sh4\Retail
Afd.map97,93108-Mar-201202:21Public\Common\Oak\Target\Sh4\Retail
Afd.rel106,42908-Mar-201202:21Public\Common\Oak\Target\Sh4\Retail
Afd.dll208,89608-Mar-201202:23Public\Common\Oak\Target\X86\Checked
Afd.map209,68808-Mar-201202:23Public\Common\Oak\Target\X86\Checked
Afd.rel104,97908-Mar-201202:23Public\Common\Oak\Target\X86\Checked
Afd.dll299,00808-Mar-201202:23Public\Common\Oak\Target\X86\Debug
Afd.map215,75708-Mar-201202:23Public\Common\Oak\Target\X86\Debug
Afd.rel134,73308-Mar-201202:23Public\Common\Oak\Target\X86\Debug
Afd.dll118,78408-Mar-201202:23Public\Common\Oak\Target\X86\Retail
Afd.map99,36608-Mar-201202:23Public\Common\Oak\Target\X86\Retail
Afd.rel39,72908-Mar-201202:23Public\Common\Oak\Target\X86\Retail
REFERENCES
For more information about the CeSetUserNotificationEx function, visit the following Microsoft Developer Network (MSDN) website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 2686797 - Last Review: 04/10/2012 16:56:00 - Revision: 1.0

Windows Embedded Compact 7

  • kbqfe kbfix kbpubtypekc kbexpertiseinter kbsurveynew KB2686797
Feedback