PrivilegeCheck method

int PrivilegeCheck(
  1. Pointer<Void> ClientToken,
  2. Pointer<PPRIVILEGE_SET> RequiredPrivileges,
  3. Pointer<Int32> pfResult
)

Implementation

int PrivilegeCheck(
  ffi.Pointer<ffi.Void> ClientToken,
  ffi.Pointer<PPRIVILEGE_SET> RequiredPrivileges,
  ffi.Pointer<ffi.Int32> pfResult,
) {
  return (_PrivilegeCheck ??=
      _dylib.lookupFunction<_c_PrivilegeCheck, _dart_PrivilegeCheck>(
          'PrivilegeCheck'))(
    ClientToken,
    RequiredPrivileges,
    pfResult,
  );
}