JCL Help:AllowRegKeyForEveryone

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Allows full access to everyone for a registry key.


Pascal

 function AllowRegKeyForEveryone(const RootKey: DelphiHKEY; Path: string): Boolean;


Parameters

Parameters Description
Path: string Path of the registry key for which to set full access to everyone.
Key The rootkey of the specified path. Can be one of the HKEY_XXX constants.


Return Value

If the function succeeds it returns True, otherwise it returns False.


Description

AllowRegKeyForEveryone sets the dacl of the specified registry key to NULL thereby granting full access to everyone. Be careful with this one because you can do real damage on the registry!


About

Unit

JclRegistry


Donator

John C Molyneux


Notes

Under Windows 95/98/Millenium Edition, this function does nothing; in addition, it always returns True.


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page