SetProtectedPolicy method

int SetProtectedPolicy(
  1. Pointer<GUID> PolicyGuid,
  2. int PolicyValue,
  3. Pointer<Uint64> OldPolicyValue
)

Implementation

int SetProtectedPolicy(
  ffi.Pointer<GUID> PolicyGuid,
  int PolicyValue,
  ffi.Pointer<ffi.Uint64> OldPolicyValue,
) {
  return (_SetProtectedPolicy ??=
      _dylib.lookupFunction<_c_SetProtectedPolicy, _dart_SetProtectedPolicy>(
          'SetProtectedPolicy'))(
    PolicyGuid,
    PolicyValue,
    OldPolicyValue,
  );
}