ConvertToAutoInheritPrivateObjectSecurity method

int ConvertToAutoInheritPrivateObjectSecurity(
  1. Pointer<Void> ParentDescriptor,
  2. Pointer<Void> CurrentSecurityDescriptor,
  3. Pointer<Pointer<Void>> NewSecurityDescriptor,
  4. Pointer<GUID> ObjectType,
  5. int IsDirectoryObject,
  6. Pointer<GENERIC_MAPPING> GenericMapping,
)

Implementation

int ConvertToAutoInheritPrivateObjectSecurity(
  ffi.Pointer<ffi.Void> ParentDescriptor,
  ffi.Pointer<ffi.Void> CurrentSecurityDescriptor,
  ffi.Pointer<ffi.Pointer<ffi.Void>> NewSecurityDescriptor,
  ffi.Pointer<GUID> ObjectType,
  int IsDirectoryObject,
  ffi.Pointer<GENERIC_MAPPING> GenericMapping,
) {
  return (_ConvertToAutoInheritPrivateObjectSecurity ??=
      _dylib.lookupFunction<_c_ConvertToAutoInheritPrivateObjectSecurity,
              _dart_ConvertToAutoInheritPrivateObjectSecurity>(
          'ConvertToAutoInheritPrivateObjectSecurity'))(
    ParentDescriptor,
    CurrentSecurityDescriptor,
    NewSecurityDescriptor,
    ObjectType,
    IsDirectoryObject,
    GenericMapping,
  );
}