advapi32.dll: Reduce Registry access to MAXIMUM_ALLOWED wherever possible (try 2)

Paul Chitescu paulc at voip.null.ro
Fri Dec 4 09:07:27 CST 2009


Changelog:
	advapi32.dll: Reduce Registry access to MAXIMUM_ALLOWED wherever possible

Makes read operation succeed on read/only Registry keys.

A little test program (not included, one-time test only since needs specific 
Windows user configuration) has shown this is the behavior of Windows for non 
administrative users. It is possible to RegOpenKey or RegCreateKey an existing 
key but not to make any changes in it. Also RegCreateKey fails with access 
denied if the key doesn't exist.

Changes from previous patch: generated with diff -p to show C functions 
patched.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: advapi32_key_read.patch
Type: text/x-patch
Size: 2747 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091204/19bc5ff5/attachment.bin>


More information about the wine-patches mailing list