MakeAbsoluteSD method

int MakeAbsoluteSD(
  1. Pointer<Void> pSelfRelativeSecurityDescriptor,
  2. Pointer<Void> pAbsoluteSecurityDescriptor,
  3. Pointer<Uint64> lpdwAbsoluteSecurityDescriptorSize,
  4. Pointer<ACL> pDacl,
  5. Pointer<Uint64> lpdwDaclSize,
  6. Pointer<ACL> pSacl,
  7. Pointer<Uint64> lpdwSaclSize,
  8. Pointer<Void> pOwner,
  9. Pointer<Uint64> lpdwOwnerSize,
  10. Pointer<Void> pPrimaryGroup,
  11. Pointer<Uint64> lpdwPrimaryGroupSize,
)

Implementation

int MakeAbsoluteSD(
  ffi.Pointer<ffi.Void> pSelfRelativeSecurityDescriptor,
  ffi.Pointer<ffi.Void> pAbsoluteSecurityDescriptor,
  ffi.Pointer<ffi.Uint64> lpdwAbsoluteSecurityDescriptorSize,
  ffi.Pointer<ACL> pDacl,
  ffi.Pointer<ffi.Uint64> lpdwDaclSize,
  ffi.Pointer<ACL> pSacl,
  ffi.Pointer<ffi.Uint64> lpdwSaclSize,
  ffi.Pointer<ffi.Void> pOwner,
  ffi.Pointer<ffi.Uint64> lpdwOwnerSize,
  ffi.Pointer<ffi.Void> pPrimaryGroup,
  ffi.Pointer<ffi.Uint64> lpdwPrimaryGroupSize,
) {
  return (_MakeAbsoluteSD ??=
      _dylib.lookupFunction<_c_MakeAbsoluteSD, _dart_MakeAbsoluteSD>(
          'MakeAbsoluteSD'))(
    pSelfRelativeSecurityDescriptor,
    pAbsoluteSecurityDescriptor,
    lpdwAbsoluteSecurityDescriptorSize,
    pDacl,
    lpdwDaclSize,
    pSacl,
    lpdwSaclSize,
    pOwner,
    lpdwOwnerSize,
    pPrimaryGroup,
    lpdwPrimaryGroupSize,
  );
}