In my driver, i need to check the registry information in \\Registry\
\Machine\\System\\CurrentControlSet\\Control\\Class\\{4D36E96A-
E325-11CE-BFC1-08002BE10318}\\0000\\settings".
And i want to know does all the OS has the same position to same these
information?

thanks.

Re: Does Windows XP , Windows 2000 and Vista has the same registry position? by Pavel

Pavel
Wed May 07 21:05:11 CDT 2008

"??" <dongy117@gmail.com> wrote in message
news:be28fa0b-6184-4bd1-b5bc-6bf809d904f9@h1g2000prh.googlegroups.com...
> In my driver, i need to check the registry information in \\Registry\
> \Machine\\System\\CurrentControlSet\\Control\\Class\\{4D36E96A-
> E325-11CE-BFC1-08002BE10318}\\0000\\settings".
> And i want to know does all the OS has the same position to same these
> information?
>

Use SetupDiOpenClassRegKey.

--PA



Re: Does Windows XP , Windows 2000 and Vista has the same registry position? by Tim

Tim
Thu May 08 01:37:30 CDT 2008

???? <dongy117@gmail.com> wrote:
>
>In my driver, i need to check the registry information in \\Registry\
>\Machine\\System\\CurrentControlSet\\Control\\Class\\{4D36E96A-
>E325-11CE-BFC1-08002BE10318}\\0000\\settings".
>And i want to know does all the OS has the same position to same these
>information?

My computer doesn't have that key at all. I have 0003, 0004, 0005, 0006,
0007 and 0008, and none of them have a "Settings" subkey.

If you are a filter driver in this stack, you can use
IoOpenDeviceRegistryKey for this.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: Does Windows XP , Windows 2000 and Vista has the same registry position? by Maxim

Maxim
Thu May 08 04:11:52 CDT 2008

Why do you need to use this exotic registry key name?

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"??" <dongy117@gmail.com> wrote in message
news:be28fa0b-6184-4bd1-b5bc-6bf809d904f9@h1g2000prh.googlegroups.com...
> In my driver, i need to check the registry information in \\Registry\
> \Machine\\System\\CurrentControlSet\\Control\\Class\\{4D36E96A-
> E325-11CE-BFC1-08002BE10318}\\0000\\settings".
> And i want to know does all the OS has the same position to same these
> information?
>
> thanks.


Re: Does Windows XP , Windows 2000 and Vista has the same registry by dongy117

dongy117
Thu May 08 20:12:47 CDT 2008

On May 8, 5:11=A0pm, "Maxim S. Shatskih" <ma...@storagecraft.com> wrote:
> =A0 =A0 Why do you need to use this exotic registry key name?
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> ma...@storagecraft.comhttp://www.storagecraft.com
>
> "??" <dongy...@gmail.com> wrote in message
>
> news:be28fa0b-6184-4bd1-b5bc-6bf809d904f9@h1g2000prh.googlegroups.com...
>
>
>
> > In my driver, i need to check the registry information in \\Registry\
> > \Machine\\System\\CurrentControlSet\\Control\\Class\\{4D36E96A-
> > E325-11CE-BFC1-08002BE10318}\\0000\\settings".
> > And i want to know does all the OS has the same position to same these
> > information?
>
> > thanks.- Hide quoted text -
>
> - Show quoted text -

I write one miniport driver and two display driver for graphic card,
so in miniport driver i must decide which display driver will be used.
so i change the display driver setting in the registry, and os will
call the right display driver.

Re: Does Windows XP , Windows 2000 and Vista has the same registry position? by Maxim

Maxim
Fri May 09 02:35:45 CDT 2008

>I write one miniport driver and two display driver for graphic card,
>so in miniport driver i must decide which display driver will be used.
>so i change the display driver setting in the registry, and os will
>call the right display driver.

The ...\Class\{guid}\%04d registry keys are so-called "device registry keys" of
PLUGPLAY_REGKEY_DEVICE kind.

WDM has a special API of IoOpenDeviceRegistryKey to access this key for _your
own_ devnode, probably VideoPrt also has one.

Opening them by name is a very bad idea, in this case, at least ensure you have
enumerated all possible %04d numbers, and used the correct GUID for Display
class from the header files.

You can also expose an IOCTL in the miniport and make the graphics DLL call it.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com


Re: Does Windows XP , Windows 2000 and Vista has the same registry by dongy117

dongy117
Fri May 09 04:45:15 CDT 2008

Hi Maxim:
Thanks for you advice!

My driver is XDDM type, and all the interface functions
exported by videoport use hardware extension structure, the "device
object" which is used by IoOpenDeviceRegistryKey can't be got.

Also before i can use the ioctl, i will need to know
which display driver should be used, So the IOCTl also can't be used.