Microsoft KB Archive/316218

= RasEnumDevices Returns Data That Is Not Valid in Windows CE =

Article ID: 316218

Article Last Modified on 6/30/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.2
 * Microsoft Windows CE Platform Builder 4.0

-



This article was previously published under Q316218



SYMPTOMS
When an executable (.exe) that was compiled for Windows CE 3.0 calls RasEnumDevices, the routine returns successfully, but only the first entry appears to contain correct data.



CAUSE
RasEnumDevices does not check the RASDEVINFO.dwSize member and returns a Windows CE .NET version of RASDEVINFO structures.



RESOLUTION
A supported fix is now available from Microsoft as Windows CE Core OS QFE. To resolve this problem immediately, search for the keyword &quot;QFE&quot; on the following Microsoft Web site:

http://www.microsoft.com/downloads/

The English version of this package should have the following file attributes or later:

  Size       File name -  551,256    020304_armv4i_wce40-q316218.exe 547,160   020304_armv4t_wce40-q316218.exe 551,256   020304_armv4_wce40-q316218.exe 522,584   020304_mips16_wce40-q316218.exe 563,544   020304_mipsii_fp_wce40-q316218.exe 563,544   020304_mipsii_wce40-q316218.exe 571,736   020304_mipsiv_fp_wce40-q316218.exe 571,736   020304_mipsiv_wce40-q316218.exe 538,968   020304_sh3_wce40-q316218.exe 538,968   020304_sh4_wce40-q316218.exe 514,392   020304_x86_wce40-q316218.exe The English version of this fix has the file attributes (or later) that are listed in the following table:

  Date         Time   Size       File name       Platform -  19-Feb-2002  12:07  355,748    Ppp2ndis.lib    ARMV4\debug 19-Feb-2002 12:07  102,400    Ppp2ndis.pdb    ARMV4\debug 25-Feb-2002 10:13  159,102    Ppp2ras.lib     ARMV4\debug 25-Feb-2002 10:13  102,400    Ppp2ras.pdb     ARMV4\debug 19-Feb-2002 11:57  191,510    Ppp2ndis.lib    ARMV4\retail 19-Feb-2002 11:57  102,400    Ppp2ndis.pdb    ARMV4\retail 25-Feb-2002 10:03   83,236    Ppp2ras.lib     ARMV4\retail 25-Feb-2002 10:03  102,400    Ppp2ras.pdb     ARMV4\retail 19-Feb-2002 12:47  356,144    Ppp2ndis.lib    ARMV4I\debug 19-Feb-2002 12:47  102,400    Ppp2ndis.pdb    ARMV4I\debug 25-Feb-2002 10:53  159,238    Ppp2ras.lib     ARMV4I\debug 25-Feb-2002 10:53  102,400    Ppp2ras.pdb     ARMV4I\debug 19-Feb-2002 12:37  191,968    Ppp2ndis.lib    ARMV4I\retail 19-Feb-2002 12:37  102,400    Ppp2ndis.pdb    ARMV4I\retail 25-Feb-2002 10:43   83,380    Ppp2ras.lib     ARMV4I\retail 25-Feb-2002 10:43  102,400    Ppp2ras.pdb     ARMV4I\retail 19-Feb-2002 12:27  345,266    Ppp2ndis.lib    armv4T\debug 19-Feb-2002 12:27  102,400    Ppp2ndis.pdb    armv4T\debug 25-Feb-2002 10:33  154,524    Ppp2ras.lib     armv4T\debug 25-Feb-2002 10:33  102,400    Ppp2ras.pdb     armv4T\debug 19-Feb-2002 12:17  191,100    Ppp2ndis.lib    armv4T\retail 19-Feb-2002 12:17  102,400    Ppp2ndis.pdb    armv4T\retail 25-Feb-2002 10:23   82,382    Ppp2ras.lib     armv4T\retail 25-Feb-2002 10:23  102,400    Ppp2ras.pdb     armv4T\retail 19-Feb-2002 13:47  333,146    Ppp2ndis.lib    MIPS16\debug 19-Feb-2002 13:47  102,400    Ppp2ndis.pdb    MIPS16\debug 25-Feb-2002 11:54  144,574    Ppp2ras.lib     MIPS16\debug 25-Feb-2002 11:54  102,400    Ppp2ras.pdb     MIPS16\debug 19-Feb-2002 13:38  171,938    Ppp2ndis.lib    MIPS16\retail 19-Feb-2002 13:38  102,400    Ppp2ndis.pdb    MIPS16\retail 25-Feb-2002 11:44   74,148    Ppp2ras.lib     MIPS16\retail 25-Feb-2002 11:44  102,400    Ppp2ras.pdb     MIPS16\retail 19-Feb-2002 13:07  366,756    Ppp2ndis.lib    MIPSII\debug 19-Feb-2002 13:07  102,400    Ppp2ndis.pdb    MIPSII\debug 25-Feb-2002 11:13  163,704    Ppp2ras.lib     MIPSII\debug 25-Feb-2002 11:13  102,400    Ppp2ras.pdb     MIPSII\debug 19-Feb-2002 12:57  195,734    Ppp2ndis.lib    MIPSII\retail 19-Feb-2002 12:57  102,400    Ppp2ndis.pdb    MIPSII\retail 25-Feb-2002 11:03   85,704    Ppp2ras.lib     MIPSII\retail 25-Feb-2002 11:03  102,400    Ppp2ras.pdb     MIPSII\retail 19-Feb-2002 14:08  366,794    Ppp2ndis.lib    MIPSII_FP\debug 19-Feb-2002 14:08  102,400    Ppp2ndis.pdb    MIPSII_FP\debug 25-Feb-2002 12:14  163,722    Ppp2ras.lib     MIPSII_FP\debug 25-Feb-2002 12:14  102,400    Ppp2ras.pdb     MIPSII_FP\debug 19-Feb-2002 13:58  195,800    Ppp2ndis.lib    MIPSII_FP\retail 19-Feb-2002 13:58  102,400    Ppp2ndis.pdb    MIPSII_FP\retail 25-Feb-2002 12:04   85,716    Ppp2ras.lib     MIPSII_FP\retail 25-Feb-2002 12:04  102,400    Ppp2ras.pdb     MIPSII_FP\retail 19-Feb-2002 13:27  369,944    Ppp2ndis.lib    MIPSIV\debug 19-Feb-2002 13:27  102,400    Ppp2ndis.pdb    MIPSIV\debug 25-Feb-2002 11:33  165,080    Ppp2ras.lib     MIPSIV\debug 25-Feb-2002 11:33  102,400    Ppp2ras.pdb     MIPSIV\debug 19-Feb-2002 13:17  199,226    Ppp2ndis.lib    MIPSIV\retail 19-Feb-2002 13:17  102,400    Ppp2ndis.pdb    MIPSIV\retail 25-Feb-2002 11:23   87,822    Ppp2ras.lib     MIPSIV\retail 25-Feb-2002 11:23  102,400    Ppp2ras.pdb     MIPSIV\retail 19-Feb-2002 14:28  369,982    Ppp2ndis.lib    MIPSIV_FP\debug 19-Feb-2002 14:28  102,400    Ppp2ndis.pdb    MIPSIV_FP\debug 25-Feb-2002 12:34  165,098    Ppp2ras.lib     MIPSIV_FP\debug 25-Feb-2002 12:34  102,400    Ppp2ras.pdb     MIPSIV_FP\debug 19-Feb-2002 14:18  199,286    Ppp2ndis.lib    MIPSIV_FP\retail 19-Feb-2002 14:18  102,400    Ppp2ndis.pdb    MIPSIV_FP\retail 25-Feb-2002 12:24   87,834    Ppp2ras.lib     MIPSIV_FP\retail 25-Feb-2002 12:24  102,400    Ppp2ras.pdb     MIPSIV_FP\retail 19-Feb-2002 11:26  332,806    Ppp2ndis.lib    SH3\debug 19-Feb-2002 11:26  102,400    Ppp2ndis.pdb    SH3\debug 25-Feb-2002 09:32  145,370    Ppp2ras.lib     SH3\debug 25-Feb-2002 09:32  102,400    Ppp2ras.pdb     SH3\debug 19-Feb-2002 11:15  183,546    Ppp2ndis.lib    SH3\retail 19-Feb-2002 11:15  102,400    Ppp2ndis.pdb    SH3\retail 25-Feb-2002 09:22   78,918    Ppp2ras.lib     SH3\retail 25-Feb-2002 09:22  102,400    Ppp2ras.pdb     SH3\retail 19-Feb-2002 11:47  332,654    Ppp2ndis.lib    SH4\debug 19-Feb-2002 11:47  102,400    Ppp2ndis.pdb    SH4\debug 25-Feb-2002 09:53  145,322    Ppp2ras.lib     SH4\debug 25-Feb-2002 09:53  102,400    Ppp2ras.pdb     SH4\debug 19-Feb-2002 11:36  183,182    Ppp2ndis.lib    SH4\retail 19-Feb-2002 11:36  102,400    Ppp2ndis.pdb    SH4\retail 25-Feb-2002 09:43   78,760    Ppp2ras.lib     SH4\retail 25-Feb-2002 09:43  102,400    Ppp2ras.pdb     SH4\retail 19-Feb-2002 11:05  330,594    Ppp2ndis.lib    x86\debug 19-Feb-2002 11:05  102,400    Ppp2ndis.pdb    x86\debug 25-Feb-2002 09:13  144,494    Ppp2ras.lib     x86\debug 25-Feb-2002 09:13  102,400    Ppp2ras.pdb     x86\debug 19-Feb-2002 10:56  170,020    Ppp2ndis.lib    x86\retail 19-Feb-2002 10:56  102,400    Ppp2ndis.pdb    x86\retail 25-Feb-2002 09:04   73,258    Ppp2ras.lib     x86\retail 25-Feb-2002 09:04  102,400    Ppp2ras.pdb     x86\retail



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix kbqfe kbenv KB316218

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.