SetPrivateObjectSecurity method

int SetPrivateObjectSecurity(
  1. int SecurityInformation,
  2. Pointer<Void> ModificationDescriptor,
  3. Pointer<Pointer<Void>> ObjectsSecurityDescriptor,
  4. Pointer<GENERIC_MAPPING> GenericMapping,
  5. Pointer<Void> Token,
)

Implementation

int SetPrivateObjectSecurity(
  int SecurityInformation,
  ffi.Pointer<ffi.Void> ModificationDescriptor,
  ffi.Pointer<ffi.Pointer<ffi.Void>> ObjectsSecurityDescriptor,
  ffi.Pointer<GENERIC_MAPPING> GenericMapping,
  ffi.Pointer<ffi.Void> Token,
) {
  return (_SetPrivateObjectSecurity ??= _dylib.lookupFunction<
      _c_SetPrivateObjectSecurity,
      _dart_SetPrivateObjectSecurity>('SetPrivateObjectSecurity'))(
    SecurityInformation,
    ModificationDescriptor,
    ObjectsSecurityDescriptor,
    GenericMapping,
    Token,
  );
}