CheckTokenCapability method

int CheckTokenCapability(
  1. Pointer<Void> TokenHandle,
  2. Pointer<Void> CapabilitySidToCheck,
  3. Pointer<Int32> HasCapability
)

Implementation

int CheckTokenCapability(
  ffi.Pointer<ffi.Void> TokenHandle,
  ffi.Pointer<ffi.Void> CapabilitySidToCheck,
  ffi.Pointer<ffi.Int32> HasCapability,
) {
  return (_CheckTokenCapability ??= _dylib.lookupFunction<
      _c_CheckTokenCapability,
      _dart_CheckTokenCapability>('CheckTokenCapability'))(
    TokenHandle,
    CapabilitySidToCheck,
    HasCapability,
  );
}