Add device manager to system control panel applet?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply

Add device manager to system control panel applet?

Yes, please.
21
84%
No.
4
16%
 
Total votes: 25

samwise52
Posts: 119
Joined: Mon Oct 10, 2005 7:14 pm

Add device manager to system control panel applet?

Post by samwise52 »

[09:50] <+encoded> hey ged, why don't you add devmgr to the corresponding system.cpl button? or even administrative tools ?
[09:51] <@GedMurphy> because it's a hack
[09:51] <+encoded> so is most of ros
[09:51] <@Fireball> lol
[09:51] <@GedMurphy> I can do it if people wish

[ external image ]
Can you picture what could be? So limitless and free.. in need of your help ReactOS 0.4
counting_pine
Posts: 237
Joined: Fri Nov 26, 2004 10:44 pm
Location: Fallowfield

Post by counting_pine »

Not knowing anything about the state of ROS' device manager, I will refrain from voting.
dreams
Posts: 207
Joined: Tue Sep 26, 2006 10:23 am
Location: Holland
Contact:

Post by dreams »

counting_pine wrote:Not knowing anything about the state of ROS' device manager, I will refrain from voting.
You can start it by running c:\reactos\system32\devmgmt.exe

btw, what is hackish about it?
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Post by Ged »

dreams wrote:btw, what is hackish about it?
hitting that button should load devmgr.dll and call DeviceManager_ExecuteW. This in turn will load mmc.exe which will snap in the device manager code which should be located in devmgr.dll.

We don't have mmc at the moment, so I wrote devmgmt.exe as a standalone application until then.

The 'hack' would be; making that button do something it wouldn't do on a Windows system, i.e. open devmgmt.exe (which doesn't actually exist in Winows)
This would break that button for the cpl app in Windows (without some trickery)
dreams
Posts: 207
Joined: Tue Sep 26, 2006 10:23 am
Location: Holland
Contact:

Post by dreams »

ok, thanks for the explanation. i must say that it might not be a good idea then
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Post by Ged »

btw, the hack would be reversed when mmc was implemented.
Ged
Developer
Posts: 925
Joined: Thu Sep 29, 2005 3:00 pm
Location: UK

Post by Ged »

samwise52
Posts: 119
Joined: Mon Oct 10, 2005 7:14 pm

Post by samwise52 »

Code: Select all

revision 26616, Tue May 1 16:25:26 2007 UTC
quick hack to make sysdm.cpl open our standalone device manager
it's a democracy : http://www.reactos.org/forum/viewtopic.php?t=3835
ged expertly implemented the hack #ifdefing out the offending code for windows but leaving it on for ros, when mmc is implemented this won't be necesary.

You can all still vote if you like... anyway enjoy the device manager!
Can you picture what could be? So limitless and free.. in need of your help ReactOS 0.4
mf
Developer
Posts: 368
Joined: Mon Dec 27, 2004 2:37 pm
Location: Eindhoven, NL
Contact:

Post by mf »

Ged wrote:The 'hack' would be; making that button do something it wouldn't do on a Windows system, i.e. open devmgmt.exe (which doesn't actually exist in Winows)
This would break that button for the cpl app in Windows (without some trickery)
Well, I don't know if you've actually tried putting, say, our (old) winlogon into a winXP, or.. our csrss into a win2k, but... Those are kept together with hacks like that as well, and obviously don't work in Windows :)
It compiles, let's ship it!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 24 guests