Re: Does anyone know how Windows XPe enumerates network adapters?



Mark,

You may also want to take a look at SetupDiEnumDeviceInterfaces
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/install/hh/install/di-rtns_1fd59eb7-0934-4747-9a0e-81dac96c23ef.xml.asp).
It is basically used by NDIS (IOCTL_NDIS_QUERY_GLOBAL_STATS) and others to enumerate the GUID_NDIS_LAN_CLASS device interfaces on
Win2k and later versions.

I suppose you could write your own little app to see how the interfaces get enumerated and then you get more info about the issue on
your devices.

--
Regards,
KM


> Good idea. I'll check. But, I suspect its something else. On the same machine, 'new' hardware is sometimes detected when the
> machine is powered on, but sometimes 'existing' hardware is found. 'Existing' hardware is always found when restarting the
> machine,
>
> --
> Regards.
> Mark K Vallevand Mark.Vallevand@xxxxxxxxxx
>
> Beer is living proof that God loves us and wants us to be happy.
> - Benjamin Franklin
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended
> recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
>
>
> <dferencz@xxxxxxxxx> wrote in message news:1125332955.418783.217140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> Mark,
>>
>> An XPe build may re-install a PCI device driver if your cloned hardware
>> has a different revision device than your FBA hardware. (I've had this
>> happen with display adapters, wreaking havoc with my settings). Check
>> your Setupapi.log -- it will contain the original device install
>> (during FBA) and possibly a second install. Check the device revision
>> at the end of the PCI device identifier string (e.g.,
>> "ven_10de&dev_0181&subsys_00000000&rev_a2").
>>
>> I'm not sure what the correct solution would be for network devices.
>> Disabling PnP might work; I needed to keep PnP active, so I created a
>> service which resets my video settings at every boot (and thus fixes
>> things if PnP decides to reinstall.) You might be able to craft a
>> similar solution. A more obvious solution would be to use the same
>> hardware rev in FBA...
>>
>> -- Don
>>
>
>


.



Relevant Pages

  • Re: Slightly different motherboards confuse plug&play
    ... and edit the pmq files that result by taking the NIC and VGA data from ... likewise the two VGA chips. ... > Unlikely you will be able to get rid of PnP on XP/XPe without affecting the OS stability. ... > Also if you remove Add hardware Wizard component from your image configuration the end user will not notice any new hardware ...
    (microsoft.public.windowsxp.embedded)
  • Re: Slightly different motherboards confuse plug&play
    ... > and edit the pmq files that result by taking the NIC and VGA data from ... >> Unlikely you will be able to get rid of PnP on XP/XPe without affecting the OS stability. ... >> Also if you remove Add hardware Wizard component from your image configuration the end user will not notice any new hardware ... >>> are copied to another location in the registry. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Does anyone know how Windows XPe enumerates network adapters?
    ... but sometimes 'existing' hardware is found. ... > has a different revision device than your FBA hardware. ... > your Setupapi.log -- it will contain the original device install ... > Disabling PnP might work; I needed to keep PnP active, ...
    (microsoft.public.windowsxp.embedded)
  • Re: Followup Question on PnP INF File
    ... We do work directly with the serial port. ... a decision was made to make the hardware PnP. ... we did not need any of the PnP functionality. ... that we should ship a dummy driver that Microsoft signs for us? ...
    (microsoft.public.development.device.drivers)
  • Re: why isnt the second device in my device list added in the device manager?
    ... that since it is a software driver only, and not detected by PNP, you ... have to select the second device yourself via the Hardware Wizard. ... Now you will see both devices, select the second one and install ... find the appropriate section in the INF file for installation. ...
    (microsoft.public.development.device.drivers)