472,789 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Disable "New Hardware found"

Hello,

i have to write a utility in c++ for windows 2k/XP.
But i have 2 difficult problems.
I asked many programmers i know, but none of them was able to tell me
how i can do this.

1. I would like to disable a specific USB-port (not all ports, only
one).
I have a USB Cardreader with an integrated 7-port USB-Hub.
Now i would like to disable one specific USB-Port of the USB-Hub.

2. I need to disable the "Found new Hardware" - Dialog, if there is a
new modem or mobile phone found via infrared.
If the user send a picture with your mobile phone via infrared,
Windows want to install a driver for the phone.
How can i disable this?
I found an article in Microsofts Knowledge Base about disabling USB
Storage.
I tried to disable the infrared enumeration on the same way, but then
the hole infrared port isnīt working any more.

Maybe someone has a idea?

Any help would be appreciated.
This seems to be very difficult.

regards,

Daniel
Jul 22 '05 #1
2 2307

"ZubZero" <zu******@gmx.net> wrote in message
news:73*************************@posting.google.co m...
Hello,

i have to write a utility in c++ for windows 2k/XP.
But i have 2 difficult problems.
I asked many programmers i know, but none of them was able to tell me
how i can do this.

1. I would like to disable a specific USB-port (not all ports, only
one).
I have a USB Cardreader with an integrated 7-port USB-Hub.
Now i would like to disable one specific USB-Port of the USB-Hub.

2. I need to disable the "Found new Hardware" - Dialog, if there is a
new modem or mobile phone found via infrared.
If the user send a picture with your mobile phone via infrared,
Windows want to install a driver for the phone.
How can i disable this?
I found an article in Microsofts Knowledge Base about disabling USB
Storage.
I tried to disable the infrared enumeration on the same way, but then
the hole infrared port isnīt working any more.

Maybe someone has a idea?


No, none at all. Not really surprising since this is a C++ group, and you
are asking about programming Windows hardware. Perhaps you could try again
on a Window programming group, maybe
news:comp.os.ms-windows.programmer.win32.

john
Jul 22 '05 #2
> No, none at all. Not really surprising since this is a C++ group,
and you
are asking about programming Windows hardware. Perhaps you could try
again
on a Window programming group, maybe
news:comp.os.ms-windows.programmer.win32.


But don't expect an answer. I don't think you can solve this problem
unless you work in the MS kernel developer team.
Jul 22 '05 #3

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

Similar topics

2
by: Philipp | last post by:
Hi, I am quite sure this question has answered here already several times, but I haven't found the answer yet. Anyway, here is the question again: I've got libraries (*.so) that are built with...
9
by: James | last post by:
Hi, I am new to C++. I want to directly create a dynamic two-dimension double array, i.e. double pp. I found the "new" is only for one-dimension array, i.e. double *p = new p. How to "new" a...
6
by: peter.xiau | last post by:
I found that std::vector<int> v(10) ; will automatically initiallize every elem to 0 in the vector, I check the source code (VS.NET2003), and I found a line of code like this *T = new T() ; ...
6
by: webonomic | last post by:
"The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty." I get the error above. It tells me the error is in Line 120: ...
51
by: Tony Sinclair | last post by:
I'm just learning C#. I'm writing a program (using Visual C# 2005 on WinXP) to combine several files into one (HKSplit is a popular freeware program that does this, but it requires all input and...
37
by: jht5945 | last post by:
For example I wrote a function: function Func() { // do something } we can call it like: var obj = new Func(); // call it as a constructor or var result = Func(); // call it as...
14
by: mlw | last post by:
Do not take anything about this, it is not a flame or troll, while I'm not new to Java I favor C++. However, I may need to use it in a contract position, and am concerned that the restrictions it...
2
by: MLH | last post by:
I have an A97 form with Allow Edits, Allow Deletions and Allow Additions properties set. Scrolling through records will eventually take me to the end of the records and one more PgDn will take me...
30
by: Medvedev | last post by:
i see serveral source codes , and i found they almost only use "new" and "delete" keywords to make they object. Why should i do that , and as i know the object is going to be destroy by itself at...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.