Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. device manager refresh

device manager refresh

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Manu_81
    wrote on last edited by
    #1

    Hi, I am trying to the device manager refresh in win32. How to do that. Thanks.

    B 1 Reply Last reply
    0
    • M Manu_81

      Hi, I am trying to the device manager refresh in win32. How to do that. Thanks.

      B Offline
      B Offline
      Blake Miller
      wrote on last edited by
      #2

      WM_DEVICECHANGE The WM_DEVICECHANGE device message notifies an application of a change to the hardware configuration of a device or the computer. A window receives this message through its WindowProc function. HTH :cool: People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks

      M 1 Reply Last reply
      0
      • B Blake Miller

        WM_DEVICECHANGE The WM_DEVICECHANGE device message notifies an application of a change to the hardware configuration of a device or the computer. A window receives this message through its WindowProc function. HTH :cool: People that start writing code immediately are programmers (or hackers), people that ask questions first are Software Engineers - Graham Shanks

        M Offline
        M Offline
        Manu_81
        wrote on last edited by
        #3

        But that's not I want. I am not plugging in any devices to watch for WM_DEVICECHANGE message. I just want to force a device manager refresh ( just as we do manually in the control panel-device manager-scan for hardware changes but programatically) -- modified at 17:46 Tuesday 31st January, 2006

        R 1 Reply Last reply
        0
        • M Manu_81

          But that's not I want. I am not plugging in any devices to watch for WM_DEVICECHANGE message. I just want to force a device manager refresh ( just as we do manually in the control panel-device manager-scan for hardware changes but programatically) -- modified at 17:46 Tuesday 31st January, 2006

          R Offline
          R Offline
          Ryan Binns
          wrote on last edited by
          #4

          Yeah, so send it a WM_DEVICECHANGE message - it will catch it and think something has changed, so will refresh.

          Ryan

          "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups