AccessCheck method

int AccessCheck(
  1. Pointer<Void> pSecurityDescriptor,
  2. Pointer<Void> ClientToken,
  3. int DesiredAccess,
  4. Pointer<GENERIC_MAPPING> GenericMapping,
  5. Pointer<PPRIVILEGE_SET> PrivilegeSet,
  6. Pointer<Uint64> PrivilegeSetLength,
  7. Pointer<Uint64> GrantedAccess,
  8. Pointer<Int32> AccessStatus,
)

Implementation

int AccessCheck(
  ffi.Pointer<ffi.Void> pSecurityDescriptor,
  ffi.Pointer<ffi.Void> ClientToken,
  int DesiredAccess,
  ffi.Pointer<GENERIC_MAPPING> GenericMapping,
  ffi.Pointer<PPRIVILEGE_SET> PrivilegeSet,
  ffi.Pointer<ffi.Uint64> PrivilegeSetLength,
  ffi.Pointer<ffi.Uint64> GrantedAccess,
  ffi.Pointer<ffi.Int32> AccessStatus,
) {
  return (_AccessCheck ??= _dylib
      .lookupFunction<_c_AccessCheck, _dart_AccessCheck>('AccessCheck'))(
    pSecurityDescriptor,
    ClientToken,
    DesiredAccess,
    GenericMapping,
    PrivilegeSet,
    PrivilegeSetLength,
    GrantedAccess,
    AccessStatus,
  );
}