How can my application receive PnP notifications from a n/w device

Discussion in 'Wireless Networks' started by Networking Developer, Nov 23, 2004.

  1. Hi,

    Please throw some light on which API/IOCTL should my application use so that
    it can receive PnP (insertion and removal of USB n/w cards) notifications?

    Thanks
     
    Networking Developer, Nov 23, 2004
    #1
    1. Advertisements

  2. Hi,

    MSDN describes a service called 'Device Management' that will provide
    notification of device arrival and removal via a windows message
    WM_DEVICECHANGE. There is an API, RegisterDeviceNotification, that should
    do the trick. Here is the URL to the documentation in MSDN:
    http://msdn.microsoft.com/library/d...-us/devio/base/registerdevicenotification.asp

    Good luck,
    Chris Gual [MSFT]

    --
    "Improving IEEE 802.11 wireless networks with Microsoft® Windows® XP Service
    Pack 2", live webcast on Wednesday, December 1, 2004: 10:00 AM Pacific time
    (Greenwich mean time - 8 hours). More info here:
    http://support.microsoft.com/default.aspx?kbid=889704

    This posting is provided "AS IS" with no warranties, and confers no rights.
     
    Chris Gual [MSFT], Nov 25, 2004
    #2
    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.