Greetings All!!!
I have a problem - on a NT machine I need to replace standard serial settings dialog (which is invoked by CommConfigDialog; this dialog is contained in serialui.dll, not in msports.dll) with my own (actually i just need to remove some unsupported baudrates).
On a 9x machine this is achieved by adding a registry key named ConfigDialog and writing 16bit config dialog provider, but I cant find out what can I do on a NT?
I checked msports.inf and noticed a commented registry entry named EnumAdvancedDialog. I tried to add it, but it doesnt seem to help. I also checked (with regmon) what registry entries are accessed when displaying this dialog, but didnt find any access to registry entries which could provide information about custom config dialog…
It seems to me that calling “serialui.dll” is hardcoded into kernel32.dll ?
Or maybe I’m wrong and there IS some way to replace config dialog provided by serialui.dll?
Please help.
Thanks in advance.
Vladimir
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Why not install a window creation hook for all dialogs, then parse the native’s dialog children, find the baud rate combobox and remove the non-supported entries?
A solution, and if MS does not support replaceable config dialogs for serial ports - the only solution.
Max
----- Original Message -----
From: Vovkos
To: NT Developers Interest List
Sent: Tuesday, January 08, 2002 11:40 AM
Subject: [ntdev] Howto replace serial settings dialog invoked by CommConfigDialog with my own?
Greetings All!!!
I have a problem - on a NT machine I need to replace standard serial settings dialog (which is invoked by CommConfigDialog; this dialog is contained in serialui.dll, not in msports.dll) with my own (actually i just need to remove some unsupported baudrates).
On a 9x machine this is achieved by adding a registry key named ConfigDialog and writing 16bit config dialog provider, but I cant find out what can I do on a NT?
I checked msports.inf and noticed a commented registry entry named EnumAdvancedDialog. I tried to add it, but it doesnt seem to help. I also checked (with regmon) what registry entries are accessed when displaying this dialog, but didnt find any access to registry entries which could provide information about custom config dialog…
It seems to me that calling “serialui.dll” is hardcoded into kernel32.dll ?
Or maybe I’m wrong and there IS some way to replace config dialog provided by serialui.dll?
Please help.
Thanks in advance.
Vladimir
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
In NT 4.0 you are stuck with the interface that the OS provides. With 2000
you can replace it with your own. Your INF file needs to add an [AddReg]
section that contains something like this:
HKR,EnumPropPages32,“mydevice.dll,EnumPropPages”. mydevice.dll would
contain an exported function named EnumPropPages that would present your
interface.
Jim
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Vovkos
Sent: Tuesday, January 08, 2002 12:41 AM
To: NT Developers Interest List
Subject: [ntdev] Howto replace serial settings dialog invoked by
CommConfigDialog with my own?
Greetings All!!!
I have a problem - on a NT machine I need to replace standard serial
settings dialog (which is invoked by CommConfigDialog; this dialog is
contained in serialui.dll, not in msports.dll) with my own (actually i just
need to remove some unsupported baudrates).
On a 9x machine this is achieved by adding a registry key named
ConfigDialog and writing 16bit config dialog provider, but I cant find out
what can I do on a NT?
I checked msports.inf and noticed a commented registry entry named
EnumAdvancedDialog. I tried to add it, but it doesnt seem to help. I also
checked (with regmon) what registry entries are accessed when displaying
this dialog, but didnt find any access to registry entries which could
provide information about custom config dialog…
It seems to me that calling “serialui.dll” is hardcoded into kernel32.dll
?
Or maybe I’m wrong and there IS some way to replace config dialog provided
by serialui.dll?
Please help.
Thanks in advance.
Vladimir
You are currently subscribed to ntdev as: xxxxx@youngendeavors.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
I think EnumPropPages32 is to provide property page to be displayed in DeviceManager, not in CommConfigDialog… 
----- Original Message -----
From: Jim Young
To: NT Developers Interest List
Sent: Wednesday, January 09, 2002 7:42 AM
Subject: [ntdev] RE: Howto replace serial settings dialog invoked by CommConfigDialog with my own?
In NT 4.0 you are stuck with the interface that the OS provides. With 2000 you can replace it with your own. Your INF file needs to add an [AddReg] section that contains something like this: HKR,EnumPropPages32,“mydevice.dll,EnumPropPages”. mydevice.dll would contain an exported function named EnumPropPages that would present your interface.
Jim
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]On Behalf Of Vovkos
Sent: Tuesday, January 08, 2002 12:41 AM
To: NT Developers Interest List
Subject: [ntdev] Howto replace serial settings dialog invoked by CommConfigDialog with my own?
Greetings All!!!
I have a problem - on a NT machine I need to replace standard serial settings dialog (which is invoked by CommConfigDialog; this dialog is contained in serialui.dll, not in msports.dll) with my own (actually i just need to remove some unsupported baudrates).
On a 9x machine this is achieved by adding a registry key named ConfigDialog and writing 16bit config dialog provider, but I cant find out what can I do on a NT?
I checked msports.inf and noticed a commented registry entry named EnumAdvancedDialog. I tried to add it, but it doesnt seem to help. I also checked (with regmon) what registry entries are accessed when displaying this dialog, but didnt find any access to registry entries which could provide information about custom config dialog…
It seems to me that calling “serialui.dll” is hardcoded into kernel32.dll ?
Or maybe I’m wrong and there IS some way to replace config dialog provided by serialui.dll?
Please help.
Thanks in advance.
Vladimir
You are currently subscribed to ntdev as: xxxxx@youngendeavors.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@narod.ru
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com