Cet article décrit un problème qui se produit lorsque vous fermez un socket en mode noyau dans Windows Embedded Compact 7. Une mise à jour est disponible pour résoudre ce problème. Avant d’installer cette mise à jour, toutes les mises à jour précédemment publiées pour ce produit doivent être installés.
Symptômes
Considérez le scénario suivant :
-
Dans Windows Embedded Compact 7, vous ouvrez un socket à partir d’un pilote de noyau et l’utilisez d’e/s asynchrone sur le socket.
-
Vous exécutez la fonction WSAEventSelect avec l’indicateur FD_CLOSE, et que vous fermez le socket à l’aide de la fonction de closesocket .
-
Vous appelez une fonction WaitForSingleObject qui utilise le même handles d’événement sont utilisés pour la fonction WSAEventSelect .
Dans ce scénario, la fonction WaitForSingleObject renvoie WAIT_FAILED. Après l’appel à la fonction de closesocket , les fonctions WSAEnumNetworkEvents et WSAWaitForMultipleEvents échouent avec une erreur WSA_INVALID_HANDLE.
Remarque La fonction de closesocket non bloquant lance la fermeture du socket progressif. Ce processus peut impliquer l’échange de certaines données. Le pilote d’appel doit être en mesure d’utiliser les WSAWaitForMultipleEvents et les fonctions de WSAEnumNetworkEvents pour attendre la fermeture du socket progressif.
Résolution
Informations sur le téléchargement
Le Windows Embedded Compact 7 mensuel Update(January 2015) est désormais disponible auprès de Microsoft. Pour télécharger cette mise à jour mensuelle, accédez au site Web de Microsoft Download Center suivant :
Mises à jour de Windows Embedded Compact 7
Le type de processeur correspondant à chaque fichier est visible dans le nom de chaque fichier dans la section « Informations sur les fichiers ».
Plus d'informations
Nécessite un redémarrage
Après avoir appliqué cette mise à jour, vous devez effectuer une génération complète de l’intégralité de la plateforme. Pour ce faire, utilisez une des méthodes suivantes :
-
Dans le menu Générer , cliquez sur Nettoyer la Solution, puis cliquez sur Générer la Solution.
-
Dans le menu Générer , cliquez sur Régénérer la Solution.
Vous n’êtes pas obligé de redémarrer l’ordinateur après avoir appliqué cette mise à jour de logiciel.
Mettre à jour les informations sur le remplacement
Cette mise à jour ne remplace pas d'autres mises à jour.
La version anglaise de ce package de mise à jour logicielle a les attributs de fichier (ou attributs ultérieurs) répertoriés dans le tableau suivant. Les dates et heures de ces fichiers sont répertoriées en temps universel coordonné (UTC). Lorsque vous affichez les informations de fichier, elles sont converties en heure locale. Pour trouver la différence entre l’UTC et l’heure locale, utilisez l’onglet fuseau horaire dans l’élément de Date et heure dans le panneau de configuration.
Fichiers qui sont inclus dans ce package de correctifs
Nom de fichier |
Taille du fichier |
Date |
Heure |
Chemin d’accès |
---|---|---|---|---|
Afd.dll |
118,784 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Retail |
Afd.map |
100,183 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Retail |
Afd.rel |
40,048 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Retail |
Afd.dll |
303,104 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Debug |
Afd.map |
217,159 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Debug |
Afd.rel |
135,864 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Debug |
Afd.dll |
212,992 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Checked |
Afd.map |
211,089 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Checked |
Afd.rel |
105,675 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\X86\Checked |
Afd.dll |
159,744 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv5\Retail |
Afd.map |
98,325 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv5\Retail |
Afd.rel |
50,314 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv5\Retail |
Afd.dll |
405,504 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv5\Debug |
Afd.map |
219,986 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv5\Debug |
Afd.rel |
101,673 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv5\Debug |
Afd.dll |
262 144 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv5\Checked |
Afd.map |
211,463 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv5\Checked |
Afd.rel |
95,670 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv5\Checked |
Afd.dll |
159,744 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Retail |
Afd.map |
98,325 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Retail |
Afd.rel |
50,314 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Retail |
Afd.dll |
401,408 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv6\Debug |
Afd.map |
219,984 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv6\Debug |
Afd.rel |
101,673 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv6\Debug |
Afd.dll |
262 144 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Checked |
Afd.map |
211,464 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Checked |
Afd.rel |
95,670 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv6\Checked |
Afd.dll |
159,744 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv7\Retail |
Afd.map |
98,198 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv7\Retail |
Afd.rel |
50,285 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Armv7\Retail |
Afd.dll |
397,312 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv7\Debug |
Afd.map |
219,986 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv7\Debug |
Afd.rel |
101,673 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Armv7\Debug |
Afd.dll |
258,048 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv7\Checked |
Afd.map |
211,460 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv7\Checked |
Afd.rel |
95,670 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Armv7\Checked |
Afd.dll |
204,800 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Mipsii\Retail |
Afd.map |
95,869 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Mipsii\Retail |
Afd.rel |
187,571 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Target\Mipsii\Retail |
Afd.dll |
454,656 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Debug |
Afd.map |
217,445 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Debug |
Afd.rel |
448,165 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Debug |
Afd.dll |
335,872 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Checked |
Afd.map |
208,955 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Checked |
Afd.rel |
340,140 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii\Checked |
Afd.dll |
204,800 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
Afd.map |
95,869 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
Afd.rel |
187,571 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Retail |
Afd.dll |
454,656 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
Afd.map |
217,444 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
Afd.rel |
448,165 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Mipsii_fp\Debug |
Afd.dll |
335,872 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
Afd.map |
208,954 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
Afd.rel |
340,140 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Mipsii_fp\Checked |
Afd.dll |
147,456 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Sh4\Retail |
Afd.map |
98,661 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Sh4\Retail |
Afd.rel |
107,560 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Target\Sh4\Retail |
Afd.dll |
327,680 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Debug |
Afd.map |
220,362 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Debug |
Afd.rel |
180,785 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Debug |
Afd.dll |
241,664 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Checked |
Afd.map |
211,464 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Checked |
Afd.rel |
162,544 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Target\Sh4\Checked |
Afd.lib |
2,032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Retail |
Afd.exp |
973 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Retail |
Afd.lib |
2,032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Debug |
Afd.exp |
972 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Debug |
Afd.lib |
2,032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Checked |
Afd.exp |
974 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\X86\Checked |
Afd.lib |
2,026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Retail |
Afd.exp |
965 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Retail |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv5\Debug |
Afd.exp |
964 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv5\Debug |
Afd.lib |
2,026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Checked |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv5\Checked |
Afd.lib |
2,026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Retail |
Afd.exp |
965 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Retail |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv6\Debug |
Afd.exp |
964 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv6\Debug |
Afd.lib |
2,026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Checked |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv6\Checked |
Afd.lib |
2,026 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Lib\Armv7\Retail |
Afd.exp |
965 |
31-Dec-2014 |
10:18 |
Public\Common\Oak\Lib\Armv7\Retail |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv7\Debug |
Afd.exp |
964 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Armv7\Debug |
Afd.lib |
2,026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv7\Checked |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Armv7\Checked |
Afd.lib |
2,026 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Mipsii\Retail |
Afd.exp |
966 |
31-Dec-2014 |
10:17 |
Public\Common\Oak\Lib\Mipsii\Retail |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Debug |
Afd.exp |
965 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Debug |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Checked |
Afd.exp |
967 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii\Checked |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
Afd.exp |
969 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Retail |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
Afd.exp |
968 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Debug |
Afd.lib |
2,026 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
Afd.exp |
970 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Mipsii_fp\Checked |
Afd.lib |
2,032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Retail |
Afd.exp |
973 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Retail |
Afd.lib |
2,032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Debug |
Afd.exp |
972 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Debug |
Afd.lib |
2,032 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Checked |
Afd.exp |
974 |
31-Dec-2014 |
10:16 |
Public\Common\Oak\Lib\Sh4\Checked |
État
Microsoft a confirmé l'existence de ce problème dans les produits Microsoft répertoriés dans la section « S'applique à ».
Références
Obtenir des informations sur la terminologie standard qui est utilisée pour décrire les mises à jour logicielles de Microsoft.