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. Check and uninstall a driver programatically using C++

Check and uninstall a driver programatically using C++

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
2 Posts 2 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.
  • P Offline
    P Offline
    Prasanth outofboxt
    wrote on last edited by
    #1

    Hi, I need to check from a dll that If a particular driver is already installed or not. Also i need to un-install it. I have INF file of the driver. Please let me know how can i do this using C/C++. Thanks Prasanth

    J 1 Reply Last reply
    0
    • P Prasanth outofboxt

      Hi, I need to check from a dll that If a particular driver is already installed or not. Also i need to un-install it. I have INF file of the driver. Please let me know how can i do this using C/C++. Thanks Prasanth

      J Offline
      J Offline
      Jochen Arndt
      wrote on last edited by
      #2

      You may have a look at the SetupUninstallOEMInf function (Windows)[^]. It can be used to check if a specified INF file is installed and to remove it.

      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