FIX: Memory leak when an NDIS miniport driver is repeatedly created and deleted in Windows Embedded Compact 7

Article ID: 2675756 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you create and then delete a Network Driver Interface Specification (NDIS) miniport driver instance in Windows Embedded Compact 7, this may trigger a memory leak in the NK.exe process.

Note NK.exe is the core process of the Windows Embedded Compact 7 system.

For example, this problem may occur when you repeatedly call one of the following pairs in order to dynamically create and then delete a new NDIS device instance:
  • The NdisRegisterAdapter and NdisDeregisterAdapter functions
  • The IOCTL_NDIS_REGISTER_ADAPTER and IOCTL_NDIS_DEREGISTER_ADAPTER NDIS DeviceIoControl requests

RESOLUTION

Software update information

A supported software update that is named "Windows Embedded Compact 7 Monthly Update March 2012" is now available from Microsoft. 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 Microsoft Download Center: 
Windows Embedded Compact 7 Updates

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
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Route.exe53,24830-Mar-201218:35Public\Common\Oak\Target\Armv5\Checked
Tcpipreg.dll77,82430-Mar-201218:35Public\Common\Oak\Target\Armv5\Checked
Route.exe65,53630-Mar-201218:35Public\Common\Oak\Target\Armv5\Debug
Tcpipreg.dll94,20830-Mar-201218:35Public\Common\Oak\Target\Armv5\Debug
Route.exe49,15230-Mar-201218:35Public\Common\Oak\Target\Armv5\Retail
Tcpipreg.dll49,15230-Mar-201218:35Public\Common\Oak\Target\Armv5\Retail
Route.exe53,24830-Mar-201218:40Public\Common\Oak\Target\Armv6\Checked
Tcpipreg.dll77,82430-Mar-201218:40Public\Common\Oak\Target\Armv6\Checked
Route.exe65,53630-Mar-201218:40Public\Common\Oak\Target\Armv6\Debug
Tcpipreg.dll94,20830-Mar-201218:40Public\Common\Oak\Target\Armv6\Debug
Route.exe49,15230-Mar-201218:40Public\Common\Oak\Target\Armv6\Retail
Tcpipreg.dll49,15230-Mar-201219:44Public\Common\Oak\Target\Armv6\Retail
Route.exe53,24830-Mar-201218:45Public\Common\Oak\Target\Armv7\Checked
Tcpipreg.dll77,82430-Mar-201218:45Public\Common\Oak\Target\Armv7\Checked
Route.exe65,53630-Mar-201218:45Public\Common\Oak\Target\Armv7\Debug
Tcpipreg.dll94,20830-Mar-201218:45Public\Common\Oak\Target\Armv7\Debug
Route.exe49,15230-Mar-201218:45Public\Common\Oak\Target\Armv7\Retail
Tcpipreg.dll49,15230-Mar-201218:45Public\Common\Oak\Target\Armv7\Retail
Route.exe57,34430-Mar-201218:50Public\Common\Oak\Target\Mipsii\Checked
Tcpipreg.dll98,30430-Mar-201218:50Public\Common\Oak\Target\Mipsii\Checked
Route.exe65,53630-Mar-201218:50Public\Common\Oak\Target\Mipsii\Debug
Tcpipreg.dll110,59230-Mar-201218:50Public\Common\Oak\Target\Mipsii\Debug
Route.exe49,15230-Mar-201218:50Public\Common\Oak\Target\Mipsii\Retail
Tcpipreg.dll57,34430-Mar-201218:50Public\Common\Oak\Target\Mipsii\Retail
Route.exe57,34430-Mar-201218:56Public\Common\Oak\Target\Mipsii_fp\Checked
Tcpipreg.dll98,30430-Mar-201218:56Public\Common\Oak\Target\Mipsii_fp\Checked
Route.exe65,53630-Mar-201218:56Public\Common\Oak\Target\Mipsii_fp\Debug
Tcpipreg.dll110,59230-Mar-201218:56Public\Common\Oak\Target\Mipsii_fp\Debug
Route.exe49,15230-Mar-201218:56Public\Common\Oak\Target\Mipsii_fp\Retail
Tcpipreg.dll57,34430-Mar-201218:56Public\Common\Oak\Target\Mipsii_fp\Retail
Route.exe49,15230-Mar-201219:01Public\Common\Oak\Target\Sh4\Checked
Tcpipreg.dll69,63230-Mar-201219:01Public\Common\Oak\Target\Sh4\Checked
Route.exe57,34430-Mar-201219:01Public\Common\Oak\Target\Sh4\Debug
Tcpipreg.dll77,82430-Mar-201219:01Public\Common\Oak\Target\Sh4\Debug
Route.exe45,05630-Mar-201219:01Public\Common\Oak\Target\Sh4\Retail
Tcpipreg.dll45,05630-Mar-201219:01Public\Common\Oak\Target\Sh4\Retail
Route.exe45,05630-Mar-201219:06Public\Common\Oak\Target\X86\Checked
Tcpipreg.dll61,44030-Mar-201219:06Public\Common\Oak\Target\X86\Checked
Route.exe49,15230-Mar-201219:06Public\Common\Oak\Target\X86\Debug
Tcpipreg.dll69,63230-Mar-201219:06Public\Common\Oak\Target\X86\Debug
Route.exe40,96030-Mar-201219:06Public\Common\Oak\Target\X86\Retail
Tcpipreg.dll36,86430-Mar-201219:06Public\Common\Oak\Target\X86\Retail
Flnglib.lib857,25230-Mar-201218:35Public\Common\Oak\Lib\Armv5\Checked
Tcpipreg.lib1,99830-Mar-201218:35Public\Common\Oak\Lib\Armv5\Checked
Vcompat.lib418,93230-Mar-201218:35Public\Common\Oak\Lib\Armv5\Checked
Flnglib.lib900,30630-Mar-201218:35Public\Common\Oak\Lib\Armv5\Debug
Tcpipreg.lib1,99830-Mar-201218:35Public\Common\Oak\Lib\Armv5\Debug
Vcompat.lib441,88630-Mar-201218:35Public\Common\Oak\Lib\Armv5\Debug
Flnglib.lib746,11630-Mar-201218:35Public\Common\Oak\Lib\Armv5\Retail
Tcpipreg.lib1,99830-Mar-201218:35Public\Common\Oak\Lib\Armv5\Retail
Vcompat.lib411,22430-Mar-201218:35Public\Common\Oak\Lib\Armv5\Retail
Flnglib.lib856,96230-Mar-201218:40Public\Common\Oak\Lib\Armv6\Checked
Tcpipreg.lib1,99830-Mar-201218:40Public\Common\Oak\Lib\Armv6\Checked
Vcompat.lib418,89630-Mar-201218:40Public\Common\Oak\Lib\Armv6\Checked
Flnglib.lib900,19030-Mar-201218:40Public\Common\Oak\Lib\Armv6\Debug
Tcpipreg.lib1,99830-Mar-201218:40Public\Common\Oak\Lib\Armv6\Debug
Vcompat.lib441,89830-Mar-201218:40Public\Common\Oak\Lib\Armv6\Debug
Flnglib.lib745,73430-Mar-201218:40Public\Common\Oak\Lib\Armv6\Retail
Tcpipreg.lib1,99830-Mar-201218:40Public\Common\Oak\Lib\Armv6\Retail
Vcompat.lib411,18830-Mar-201218:40Public\Common\Oak\Lib\Armv6\Retail
Flnglib.lib848,07230-Mar-201218:45Public\Common\Oak\Lib\Armv7\Checked
Tcpipreg.lib1,99830-Mar-201218:45Public\Common\Oak\Lib\Armv7\Checked
Vcompat.lib417,98230-Mar-201218:45Public\Common\Oak\Lib\Armv7\Checked
Flnglib.lib893,04830-Mar-201218:45Public\Common\Oak\Lib\Armv7\Debug
Tcpipreg.lib1,99830-Mar-201218:45Public\Common\Oak\Lib\Armv7\Debug
Vcompat.lib441,33630-Mar-201218:45Public\Common\Oak\Lib\Armv7\Debug
Flnglib.lib742,76630-Mar-201218:45Public\Common\Oak\Lib\Armv7\Retail
Tcpipreg.lib1,99830-Mar-201218:45Public\Common\Oak\Lib\Armv7\Retail
Vcompat.lib410,74030-Mar-201218:45Public\Common\Oak\Lib\Armv7\Retail
Flnglib.lib817,53230-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Checked
Tcpipreg.lib1,99830-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Checked
Vcompat.lib406,39230-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Checked
Flnglib.lib883,57030-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Debug
Tcpipreg.lib1,99830-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Debug
Vcompat.lib431,29430-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Debug
Flnglib.lib728,08430-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Retail
Tcpipreg.lib1,99830-Mar-201218:50Public\Common\Oak\Lib\Mipsii\Retail
Vcompat.lib399,89830-Mar-201218:49Public\Common\Oak\Lib\Mipsii\Retail
Flnglib.lib817,92830-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Checked
Tcpipreg.lib1,99830-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Checked
Vcompat.lib407,12230-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Checked
Flnglib.lib883,99830-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Debug
Tcpipreg.lib1,99830-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Debug
Vcompat.lib432,08430-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Debug
Flnglib.lib728,50430-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Retail
Tcpipreg.lib1,99830-Mar-201218:56Public\Common\Oak\Lib\Mipsii_fp\Retail
Vcompat.lib400,69830-Mar-201218:55Public\Common\Oak\Lib\Mipsii_fp\Retail
Flnglib.lib742,09430-Mar-201219:01Public\Common\Oak\Lib\Sh4\Checked
Tcpipreg.lib2,00830-Mar-201219:01Public\Common\Oak\Lib\Sh4\Checked
Vcompat.lib383,80830-Mar-201219:00Public\Common\Oak\Lib\Sh4\Checked
Flnglib.lib793,38630-Mar-201219:01Public\Common\Oak\Lib\Sh4\Debug
Tcpipreg.lib2,00830-Mar-201219:01Public\Common\Oak\Lib\Sh4\Debug
Vcompat.lib405,64830-Mar-201219:00Public\Common\Oak\Lib\Sh4\Debug
Flnglib.lib686,21230-Mar-201219:01Public\Common\Oak\Lib\Sh4\Retail
Tcpipreg.lib2,00830-Mar-201219:01Public\Common\Oak\Lib\Sh4\Retail
Vcompat.lib384,87030-Mar-201219:00Public\Common\Oak\Lib\Sh4\Retail
Flnglib.lib724,40830-Mar-201219:06Public\Common\Oak\Lib\X86\Checked
Tcpipreg.lib2,00830-Mar-201219:06Public\Common\Oak\Lib\X86\Checked
Vcompat.lib382,73430-Mar-201219:06Public\Common\Oak\Lib\X86\Checked
Flnglib.lib722,94630-Mar-201219:06Public\Common\Oak\Lib\X86\Debug
Tcpipreg.lib2,00830-Mar-201219:06Public\Common\Oak\Lib\X86\Debug
Vcompat.lib384,75030-Mar-201219:05Public\Common\Oak\Lib\X86\Debug
Flnglib.lib649,53830-Mar-201219:06Public\Common\Oak\Lib\X86\Retail
Tcpipreg.lib2,00830-Mar-201219:06Public\Common\Oak\Lib\X86\Retail
Vcompat.lib375,32030-Mar-201219:05Public\Common\Oak\Lib\X86\Retail
Wlanext.exe184,32030-Mar-201218:36Public\Servers\Oak\Target\Armv5\Checked
Firewall.dll32,76830-Mar-201218:36Public\Servers\Oak\Target\Armv5\Checked
Wlanext.exe286,72030-Mar-201218:36Public\Servers\Oak\Target\Armv5\Debug
Firewall.dll45,05630-Mar-201218:36Public\Servers\Oak\Target\Armv5\Debug
Wlanext.exe90,11230-Mar-201218:35Public\Servers\Oak\Target\Armv5\Retail
Firewall.dll24,57630-Mar-201218:36Public\Servers\Oak\Target\Armv5\Retail
Wlanext.exe184,32030-Mar-201218:41Public\Servers\Oak\Target\Armv6\Checked
Firewall.dll32,76830-Mar-201218:41Public\Servers\Oak\Target\Armv6\Checked
Wlanext.exe286,72030-Mar-201218:41Public\Servers\Oak\Target\Armv6\Debug
Firewall.dll45,05630-Mar-201218:41Public\Servers\Oak\Target\Armv6\Debug
Wlanext.exe90,11230-Mar-201218:40Public\Servers\Oak\Target\Armv6\Retail
Firewall.dll24,57630-Mar-201218:41Public\Servers\Oak\Target\Armv6\Retail
Wlanext.exe180,22430-Mar-201218:46Public\Servers\Oak\Target\Armv7\Checked
Firewall.dll32,76830-Mar-201218:46Public\Servers\Oak\Target\Armv7\Checked
Wlanext.exe282,62430-Mar-201218:46Public\Servers\Oak\Target\Armv7\Debug
Firewall.dll45,05630-Mar-201218:46Public\Servers\Oak\Target\Armv7\Debug
Wlanext.exe90,11230-Mar-201218:45Public\Servers\Oak\Target\Armv7\Retail
Firewall.dll24,57630-Mar-201218:46Public\Servers\Oak\Target\Armv7\Retail
Wlanext.exe241,66430-Mar-201218:50Public\Servers\Oak\Target\Mipsii\Checked
Firewall.dll36,86430-Mar-201218:51Public\Servers\Oak\Target\Mipsii\Checked
Wlanext.exe335,87230-Mar-201218:50Public\Servers\Oak\Target\Mipsii\Debug
Firewall.dll45,05630-Mar-201218:51Public\Servers\Oak\Target\Mipsii\Debug
Wlanext.exe122,88030-Mar-201218:50Public\Servers\Oak\Target\Mipsii\Retail
Firewall.dll28,67230-Mar-201218:51Public\Servers\Oak\Target\Mipsii\Retail
Wlanext.exe241,66430-Mar-201218:57Public\Servers\Oak\Target\Mipsii_fp\Checked
Firewall.dll36,86430-Mar-201218:57Public\Servers\Oak\Target\Mipsii_fp\Checked
Wlanext.exe335,87230-Mar-201218:56Public\Servers\Oak\Target\Mipsii_fp\Debug
Firewall.dll45,05630-Mar-201218:57Public\Servers\Oak\Target\Mipsii_fp\Debug
Wlanext.exe122,88030-Mar-201218:56Public\Servers\Oak\Target\Mipsii_fp\Retail
Firewall.dll28,67230-Mar-201218:57Public\Servers\Oak\Target\Mipsii_fp\Retail
Wlanext.exe167,93630-Mar-201219:01Public\Servers\Oak\Target\Sh4\Checked
Firewall.dll32,76830-Mar-201219:02Public\Servers\Oak\Target\Sh4\Checked
Wlanext.exe225,28030-Mar-201219:01Public\Servers\Oak\Target\Sh4\Debug
Firewall.dll40,96030-Mar-201219:01Public\Servers\Oak\Target\Sh4\Debug
Wlanext.exe90,11230-Mar-201219:01Public\Servers\Oak\Target\Sh4\Retail
Firewall.dll24,57630-Mar-201219:01Public\Servers\Oak\Target\Sh4\Retail
Wlanext.exe139,26430-Mar-201219:06Public\Servers\Oak\Target\X86\Checked
Firewall.dll28,67230-Mar-201219:07Public\Servers\Oak\Target\X86\Checked
Wlanext.exe208,89630-Mar-201219:06Public\Servers\Oak\Target\X86\Debug
Firewall.dll36,86430-Mar-201219:06Public\Servers\Oak\Target\X86\Debug
Wlanext.exe69,63230-Mar-201219:06Public\Servers\Oak\Target\X86\Retail
Firewall.dll20,48030-Mar-201219:06Public\Servers\Oak\Target\X86\Retail

REFERENCES

For more information about the NdisRegisterAdapter and NdisDeregisterAdapter functions, visit the following MSDN websites:
NdisRegisterAdapter
NdisDeregisterAdapter
For more information about the IOCTL_NDIS_REGISTER_ADAPTER and IOCTL_NDIS_DEREGISTER_ADAPTER NDIS DeviceIoControl requests, visit the following MSDN websites:
IOCTL_NDIS_REGISTER_ADAPTER
IOCTL_NDIS_DEREGISTER_ADAPTER
For more information about the core process of the Windows Embedded Compact 7 system, visit the following MSDN website:
Kernel (Windows Embedded Compact 7)
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: 2675756 - Last Review: April 10, 2012 - Revision: 1.0
APPLIES TO
  • Windows Embedded Compact 7
Keywords: 
kbqfe kbfix kbpubtypekc kbexpertiseinter kbsurveynew KB2675756

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com