Enable/Disable USB drive

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sharda

    #1

    Enable/Disable USB drive


    Hi,

    I want to Enable/Disable USB drive programatically .
    I dont to use devcon.exe.

    If anyone knows some API please tell me.

    Thanks in advance.



    --
    Sharda
    ------------------------------------------------------------------------
    Posted via http://www.codecomments.com
    ------------------------------------------------------------------------

  • Sheng Jiang[MVP]

    #2
    Re: Enable/Disable USB drive

    You can talk a look at Device Installation functions in the Windows Driver
    Kit, or ask this question in more appropriate newsgroups devoted to devices.

    --
    Sheng Jiang
    Microsoft MVP in VC++
    "Sharda" <Sharda.2uy4xs@ mail.codecommen ts.comwrote in message
    news:Sharda.2uy 4xs@mail.codeco mments.com...
    >
    Hi,
    >
    I want to Enable/Disable USB drive programatically .
    I dont to use devcon.exe.
    >
    If anyone knows some API please tell me.
    >
    Thanks in advance.
    >
    >
    >
    --
    Sharda
    ------------------------------------------------------------------------
    Posted via http://www.codecomments.com
    ------------------------------------------------------------------------
    >

    Comment

    Working...