Properties Page
-
Hi, I'm creating an application that uses the windows media encoder SDK. I would like to show the properties/configuration pages of the input devices like wmenc.exe does. This dialog is custom for every device installed but I'm sure that there is an standard way to show it. Any idea/suggestion will be apreciated. Thanks
-
Hi, I'm creating an application that uses the windows media encoder SDK. I would like to show the properties/configuration pages of the input devices like wmenc.exe does. This dialog is custom for every device installed but I'm sure that there is an standard way to show it. Any idea/suggestion will be apreciated. Thanks
There is no build-in support for this in the .NET base class library (BCL). This actually requires a lot of COM and native functions. Your best bet is to consult the Windows Driver Development Kit (DDK). Essentially, each device class has an associated CLSID for the property pages it supports. The client application creates a property sheet, adds-in default property pages for all devices, and queries the device class for additional property pages to include, similar to how shell property page extensions work, except in that case default property pages are added and the file's associated property sheet handlers are queried. The Platform SDK does contain some information about this, but the DDK will provide much more specific information about device property sheets.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----