Surprise Removal problem in NDIS-WDM Drivers in XP SP1a

Discussion in 'Windows Vista Drivers' started by GNRaj, Jan 5, 2004.

  1. GNRaj

    GNRaj Guest

    Hello Everyone,

    I am resending this message as I didn't get any reply.


    I am sure at least one of you might have faced the same problem.

    I am developing a NDIS-WDM (USB) driver for my USB Device.

    I followed the sample for NDIS-WDM driver given by Eliyas.

    I browsed through the Mailing Lists and found that for making the
    Surprise Removal work, I have to set the
    NDIS_ATTRIBUTE_SURPRISE_REMOVAL_OK bit while calling the
    NdisMSetAttributesEx function in my MiniPortInitialize function.

    I did this. But to my surprise, the "Safely Remove Hardware" icon in the
    system tray still was coming.

    I tried a lot to debug. Then later I reinstalled the Windows XP. Now I
    found that the "Safely Remove Hardware" icon does not appear in the
    system tray when I connect my device and load my driver.

    Now, I applied the Windows XP Service Pack 1a and rebooted.

    After rebooting, the "Safely Remove Hardware" icon appears again in the
    system tray.

    This concludes that Windows XP Service Pack 1a is containing some
    modifications to the NDIS/WDM framework which makes this feature of
    Surprise Removal not work.

    Am I the only one facing this problem?

    Please correct me if I am wrong somewhere in my analysis or debugging.

    Any pointers in way of URLs or documents would be of great help to me.

    Thanks in advance,

    Best Regards,

    GNRaj
     
    GNRaj, Jan 5, 2004
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.