473,888 Members | 1,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2366

"ZubZero" <zu******@gmx.n et> wrote in message
news:73******** *************** **@posting.goog le.com...
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.program mer.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.program mer.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
1993
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 gcc 2.95.2. The gcc version, I've installed on my computer, is 3.xx and I don't have the source files of the libraries. Can I link those libraries without uninstalling my new 3.xx-compiler? Thanx for your answers in advance. Isn't there a secret...
9
7769
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 two-dimension array? Is the only way to create a class? In java, I can easily create a two-dimension array by "double pp = new double". But, how to do it in C++?
6
4408
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() ; So I tested the three lines of code 1. int *p = new int ; 2. int *p = new int() ;
6
2190
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: <profile> Line 121: <providers> Line 122: <add name="AspNetSqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral,...
51
4004
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 output to be within one directory, and I want to be able to combine files from different directories into another directory of my choice). My program seems to work fine, but I'm wondering about this loop: for (int i = 0; i < numFiles; i++)
37
4022
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 a function
14
5703
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 places on application code. Take, for instance, this C++ construct: class foo { char *m_name;
2
2087
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 to a new record. I also have a cmd button on the form to take me instantly to a new record. There are 2 controls on the form I would like disabled whenever I'm at a new record. I want them enabled at all other times. Which event property would...
30
3881
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 the end of the app for example: class test { public: int x;
0
10778
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9597
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7990
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5817
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6014
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4642
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4244
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3252
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.