RegGetKeySecurity method

int RegGetKeySecurity(
  1. Pointer<HKEY__> hKey,
  2. int SecurityInformation,
  3. Pointer<Void> pSecurityDescriptor,
  4. Pointer<Uint64> lpcbSecurityDescriptor,
)

Implementation

int RegGetKeySecurity(
  ffi.Pointer<HKEY__> hKey,
  int SecurityInformation,
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
  ffi.Pointer<ffi.Uint64> lpcbSecurityDescriptor,
) {
  return (_RegGetKeySecurity ??=
      _dylib.lookupFunction<_c_RegGetKeySecurity, _dart_RegGetKeySecurity>(
          'RegGetKeySecurity'))(
    hKey,
    SecurityInformation,
    pSecurityDescriptor,
    lpcbSecurityDescriptor,
  );
}