473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

USB hot-plug detection

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.
Jul 22 '05 #1
3 2860
boki wrote:
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
Jul 22 '05 #2

"Victor Bazarov" <v.********@comAcast.net> wrote in message news:suV6d.3801
... 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

Jul 22 '05 #3
Howard wrote:
"Victor Bazarov" <v.********@comAcast.net> wrote in message news:suV6d.3801
... 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). :-)


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?
Jul 22 '05 #4

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

Similar topics

3
by: JB | last post by:
We have a SQL Server 7.0 database running with trunc. log on chkpt and select into/bulkcopy checked and need to develop a backup strategy. One of our DBAs insists that since the transaction log...
1
by: V.Boomessh | last post by:
Hai can any one help in this following issue? I am developing an VB Application in .NET. This application takes two different languages. One is English and other is the regional language. The Hot...
3
by: Rakesh | last post by:
Hi, I was 'googling' to look out for some ways of optimizing the code and came across this term - 'hot / cold splitting'. In short, the discussion is about splitting heavily accessed ( hot )...
20
by: My Internet | last post by:
Hello, I am in the process to define if our product can use PostgreSQL. Do you know what type of application use PostgreSQL, and also what is the size of the database for these projects? ...
1
by: antipode | last post by:
That's about it. If I make a cursor of any size and color depth, the button to set the hot spot stays disabled. I'm at my wit's end, and yet I know it's got to be something stupid I'm missing.
0
by: BobAchgill | last post by:
I stumbled across a way to make buttons transparent. Which means its possible to use a button to be a "hot spot" (if a square hot spot is what you need) I found the answer waiting in a very...
0
by: gregory_may | last post by:
I apologize for cross posting, but I don't know the best place to post this. This link is a pretty good overview of the various System Cursor routines....
4
by: ITJRW | last post by:
Hi All, I'm going through Microsoft Visual Basic .NET Step by Step Version 2003 by Halvorson. I have performed a Chapter 4 exercise according to the instructions exactly. Using the & character...
0
by: yasker | last post by:
Hi, all I'm developing an application that needs to pop up when the user presses a global hot key. I followed instruction using Win32 API RegisterHotKey. It works fine at first, but what's the...
6
by: mohit.akl | last post by:
hey guys I got trouble implementing hot toolbar like intertnet explorer in my win forms. Could someone please give me ideas... thanks
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.