RegSetKeySecurity method

int RegSetKeySecurity(
  1. Pointer<HKEY__> hKey,
  2. int SecurityInformation,
  3. Pointer<Void> pSecurityDescriptor
)

Implementation

int RegSetKeySecurity(
  ffi.Pointer<HKEY__> hKey,
  int SecurityInformation,
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
) {
  return (_RegSetKeySecurity ??=
      _dylib.lookupFunction<_c_RegSetKeySecurity, _dart_RegSetKeySecurity>(
          'RegSetKeySecurity'))(
    hKey,
    SecurityInformation,
    pSecurityDescriptor,
  );
}