views:

981

answers:

2

I need to delete a regsitry key. It has a deny ACL on Set Value (I need this permission to delete it).

How do I change the ACLs in C++?

+1  A: 

You could use RegSetKeySecurity to adjust the security settings and then delete the key as usual.

HS
A: 

It's a Win32 FAQ.

See Win32 api ng news://194.177.96.26/comp.os.ms-windows.programmer.win32