Tech Support > Microsoft Windows > Drivers > Registry calls for 16 bit
Registry calls for 16 bit
Posted by Andrews on February 23rd, 2005


Hi,

I need to access registry for my windows 98 driver and wants to keep all the
calls in my driver as 16 bit compatible.

can u please suggest calls for that. I have seen the application layer the
calls for 16 bit are 'RegCreateKey' etc. anything equivement at driver side.
Shall i go for Zw* calls or RTL* calls ??

Thanks


Posted by Arkady Frenkel on February 23rd, 2005


IIRC HKEY_CLASSES_ROOT only possible to use in 16 bit
Arkady

"Andrews" <Andy@no-mail.yahoo.com> wrote in message
news:%23Db4cOXGFHA.3492@TK2MSFTNGP12.phx.gbl...


Posted by Andrews on February 23rd, 2005


do u mean to say that other keys are not accessible from 16 bit. ??

even if that's the case what call to use for accessing this ??


"Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message
news:OXwkeAYGFHA.1528@TK2MSFTNGP09.phx.gbl...


Posted by Arkady Frenkel on February 23rd, 2005


I have no environment now to check that but as I remember any calls (
create/read /write ) to keys other than under
HKEY_CLASSES_ROOT cause return error to app.
In driver you can do what you want if it's 32 bit module
Arkady

"Andrews" <Andy@no-mail.yahoo.com> wrote in message
news:e%2395ZBaGFHA.3928@TK2MSFTNGP09.phx.gbl...


Posted by Maxim S. Shatskih on February 24th, 2005


For what? Who will write any more 16bit apps in modern days?

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



Posted by Pavel A. on February 25th, 2005


Don't worry, just write to the registry as usually.
The (properly written) apps will get it.

--PA

"Andrews" wrote:

Posted by Andrews on February 25th, 2005


I mean to say from my driver i want to access registry.

just happened to see some references of "_CONFIGMG_Read_Registry_Value". I
couldn't find some proper documentation for these.

any comments on this call ??


"Pavel A." <pavel_a@NOwritemeNO.com> wrote in message
news:33B9C34F-66CC-4EFA-B684-D878F83D28B8@microsoft.com...


Posted by Pavel A. on February 25th, 2005


CONFIGMG functions in win9x have "dual interface": can be called from VxDs or user mode apps,
of course the calling sequences are different.
If your driver is a VxD, you just make the _CONFIGMG_Read_Registry_Value call.
Sorry, can't remember all details.
--PA

"Andrews" <Andy@no-mail.yahoo.com> wrote in message news:#bnFSR0GFHA.3076@tk2msftngp13.phx.gbl...


Posted by Alexander Grigoriev on February 27th, 2005


I believe in Win9x all RegXXX functions are available to 16 bit
applications. Remember that setup.dll is 16 bits, and it reads/writes all
HKLM keys without problems.

"Andrews" <Andy@no-mail.yahoo.com> wrote in message
news:%23Db4cOXGFHA.3492@TK2MSFTNGP12.phx.gbl...



Similar Posts