I have written several drivers for Windows NT and Windows 2000, but I am
ashamed to admit that I have actually never used the registry. My drivers
are very specific to our particular system and are not used outside of
it. However, I now find that I need to use the registry AND I would like
to implement a property sheet. When looking through the DDK I ran across a
property sheet that looked like it was COM based. Now, I cannot seem to
find it. More than anything, I am trying to learn. Can one use COM to
create a property sheet for a driver? Is it an especially “bad” or “good”
thing? I have looked through all my books on device driver development and
there doesn’t seem to be much at all on property sheets and drivers. Does
anyone have a place to point me to get me started in the right
direction? Like a good example? Or a commentary/instructions in a
particular book or article? I would really appreciate any insight. As I
said, I would really like to learn how to do property sheets, and
especially how to do them properly.
Thank you very much,
Michael Wade
Michael,
Hope the following link will be of some use to you…
http://www.osr.com/ntinsider/2001/property/property.htm
Happy coding…
Regards,
Vijay
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Michael Wade
Sent: Thursday, May 02, 2002 10:51 AM
To: NT Developers Interest List
Subject: [ntdev] Property Page via COM
I have written several drivers for Windows NT and Windows 2000, but I am
ashamed to admit that I have actually never used the registry. My drivers
are very specific to our particular system and are not used outside of
it. However, I now find that I need to use the registry AND I would like
to implement a property sheet. When looking through the DDK I ran across a
property sheet that looked like it was COM based. Now, I cannot seem to
find it. More than anything, I am trying to learn. Can one use COM to
create a property sheet for a driver? Is it an especially “bad” or “good”
thing? I have looked through all my books on device driver development and
there doesn’t seem to be much at all on property sheets and drivers. Does
anyone have a place to point me to get me started in the right
direction? Like a good example? Or a commentary/instructions in a
particular book or article? I would really appreciate any insight. As I
said, I would really like to learn how to do property sheets, and
especially how to do them properly.
Thank you very much,
Michael Wade
You are currently subscribed to ntdev as: xxxxx@qmaxtest.com
To unsubscribe send a blank email to %%email.unsub%%
The COM based objects you are referring to are basically Notifier Objects. A
software component, such as a network protocol, client, or service, can have
a notify object. A notify object can display a user interface, notify the
component of binding events so that the component can exercise some control
over the binding process, and provide for conditional installations and
conditional removals.
The network configuration subsystem displays Property pages for a network
component and changes the component’s parameters.A component’s properties
can be displayed and modified from the Control Panel. When you click the
Network icon, you start the network configuration subsystem, which creates
an instance of the notify object and calls the object’s
INetCfgComponentControl::Initialize method. This method initializes the
object and provides access to the component and all aspects of network
configuration. The application calls the component’s
INetCfgComponent::RaisePropertyUi method to display the component’s
properties.
However certain things are always left undocumented to the wit of the
developer … I got no help in this planet in order to start/stop a
protocol driver without reboot thru a notifier object which I made while I
was working at Compaq … anyway it got done …
–Arup
-----Original Message-----
From: Michael Wade [ mailto:xxxxx@pacbell.net
mailto:xxxxx ]
> Sent: Thursday, May 02, 2002 10:51 AM
> To: NT Developers Interest List
> Subject: [ntdev] Property Page via COM
>
>
> I have written several drivers for Windows NT and Windows
> 2000, but I am
> ashamed to admit that I have actually never used the
> registry. My drivers
> are very specific to our particular system and are not used
> outside of
> it. However, I now find that I need to use the registry AND
> I would like
> to implement a property sheet. When looking through the DDK
> I ran across a
> property sheet that looked like it was COM based. Now, I
> cannot seem to
> find it. More than anything, I am trying to learn. Can one
> use COM to
> create a property sheet for a driver? Is it an especially
> “bad” or “good”
> thing? I have looked through all my books on device driver
> development and
> there doesn’t seem to be much at all on property sheets and
> drivers. Does
> anyone have a place to point me to get me started in the right
> direction? Like a good example? Or a commentary/instructions in a
> particular book or article? I would really appreciate any
> insight. As I
> said, I would really like to learn how to do property sheets, and
> especially how to do them properly.
>
> Thank you very much,
> Michael Wade
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@quark.co.in
> To unsubscribe send a blank email to %%email.unsub%%
></mailto:xxxxx>
In case its not related to network components and its notifications then you
can look into Class Installers in DDK or Co Installers that assist in device
installations for eg a vendor can provide a co-installer to write
device-specific information to the registry that cannot be handled by the
INF file.
-----Original Message-----
From: Michael Wade [mailto:xxxxx@pacbell.net]
Sent: Thursday, May 02, 2002 10:51 AM
To: NT Developers Interest List
Subject: [ntdev] Property Page via COM
I have written several drivers for Windows NT and Windows
2000, but I am
ashamed to admit that I have actually never used the
registry. My drivers
are very specific to our particular system and are not used
outside of
it. However, I now find that I need to use the registry AND
I would like
to implement a property sheet. When looking through the DDK
I ran across a
property sheet that looked like it was COM based. Now, I
cannot seem to
find it. More than anything, I am trying to learn. Can one
use COM to
create a property sheet for a driver? Is it an especially
“bad” or “good”
thing? I have looked through all my books on device driver
development and
there doesn’t seem to be much at all on property sheets and
drivers. Does
anyone have a place to point me to get me started in the right
direction? Like a good example? Or a commentary/instructions in a
particular book or article? I would really appreciate any
insight. As I
said, I would really like to learn how to do property sheets, and
especially how to do them properly.
Thank you very much,
Michael Wade
You are currently subscribed to ntdev as: xxxxx@quark.co.in
To unsubscribe send a blank email to %%email.unsub%%