USB hot-plug detection

B

boki

Dear All,
There is a voltage drop be detected by USB host controller,
we can recongnize this signal to know a new device, but, what is the
function or API or method in windows programming? ( VC/VB )

Thank you very much for your help.

Best regards,
Boki.
 
V

Victor Bazarov

boki said:
There is a voltage drop be detected by USB host controller,
we can recongnize this signal to know a new device, but, what is the
function or API or method in windows programming? ( VC/VB )

Why don't you ask in a newsgroup where _windows_programming_ is the
topic: comp.os.ms-windows.programmer.win32? C++ _language_ does NOT
have any means to control hardware.

V
 
H

Howard

Victor Bazarov said:
... C++ _language_ does NOT have any means to control hardware.

V

Except, of course, when implementing UB (undefined behavior), where, as I
understand it, your monitor may make toast or your CD drive launch deadly
missiles across the room (depending upon what the evil compiler vendors
thought would be more amusing). :)

-Howard
 
V

Victor Bazarov

Howard said:
Except, of course, when implementing UB (undefined behavior), where, as I
understand it, your monitor may make toast or your CD drive launch deadly
missiles across the room (depending upon what the evil compiler vendors
thought would be more amusing). :)

Well, yes, but the problem is, you cannot make sure that it's exactly
what happens by, say, dereferencing a NULL pointer. The beauty of it
is in its unpredictability... Can you call it "control" then?
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,176
Messages
2,570,950
Members
47,503
Latest member
supremedee

Latest Threads

Top