RegSetKeySecurity

Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
  1. LONG RegSetKeySecurity(HKEY , SECURITY_INFORMATION , PSECURITY_DESCRIPTOR )
  2. LONG RegSetKeySecurity(HKEY , SECURITY_INFORMATION , PSECURITY_DESCRIPTOR )
    extern (Windows) @system nothrow @nogc
    LONG
    RegSetKeySecurity
    (
    const scope HKEY
    ,
    SECURITY_INFORMATION
    ,
    PSECURITY_DESCRIPTOR
    )

Meta