472,347 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,347 software developers and data experts.

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
------------------------------------------------------------------------

Aug 7 '07 #1
1 2944
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" <Sh***********@mail.codecomments.comwrote in message
news:Sh***********@mail.codecomments.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
------------------------------------------------------------------------

Aug 7 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alphonse Giambrone | last post by:
I am trying to enable/disable a requiredfieldvalidator on the client side and am generating an error. I had found some documentation on validation...
3
by: DBQueen | last post by:
I have a form with lines of controls. On some of the lines there are 3 controls (call them A,B,C); other lines have only control A. The controls...
0
by: talal | last post by:
How to check whether javascript is enable or disable in client browser. Remeber i can check wheter browser client support javascript with...
4
by: mabond | last post by:
Does anyone know some code that will allow me to enable and/or disable a task which already exists in the task scheduer. I have a task which runs at...
1
by: Josué Maldonado | last post by:
Hello list, Is there a way to disable temporary all the triggers of a table or database and then enable them back? Thanks in advance --...
8
by: rongchaua | last post by:
Hi all, i would like now to disable and enable network adapter programmatically with c#. I have searched but found nothing useful. There's no topic...
3
by: Pietro | last post by:
Hi all, First of all I'd like to thank you very very much ,as finally after many years of searching,I could find a code to disable/enable the...
2
by: Naushad | last post by:
Hi all, I am using the countinous form. I want to Enable/Disable the some fields for perticular records as per the following condition when open...
1
by: joerozario | last post by:
Dear Friends, In my System is Disabled USB Drive through BIOS and BIOS has Password Set. now i want to enable and Disable My USB Drive without...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.