AdjustTokenGroups method

int AdjustTokenGroups(
  1. Pointer<Void> TokenHandle,
  2. int ResetToDefault,
  3. Pointer<PTOKEN_GROUPS> NewState,
  4. int BufferLength,
  5. Pointer<PTOKEN_GROUPS> PreviousState,
  6. Pointer<Uint64> ReturnLength,
)

Implementation

int AdjustTokenGroups(
  ffi.Pointer<ffi.Void> TokenHandle,
  int ResetToDefault,
  ffi.Pointer<PTOKEN_GROUPS> NewState,
  int BufferLength,
  ffi.Pointer<PTOKEN_GROUPS> PreviousState,
  ffi.Pointer<ffi.Uint64> ReturnLength,
) {
  return (_AdjustTokenGroups ??=
      _dylib.lookupFunction<_c_AdjustTokenGroups, _dart_AdjustTokenGroups>(
          'AdjustTokenGroups'))(
    TokenHandle,
    ResetToDefault,
    NewState,
    BufferLength,
    PreviousState,
    ReturnLength,
  );
}