GetTokenInformation method

int GetTokenInformation(
  1. Pointer<Void> TokenHandle,
  2. int TokenInformationClass,
  3. Pointer<Void> TokenInformation,
  4. int TokenInformationLength,
  5. Pointer<Uint64> ReturnLength,
)

Implementation

int GetTokenInformation(
  ffi.Pointer<ffi.Void> TokenHandle,
  int TokenInformationClass,
  ffi.Pointer<ffi.Void> TokenInformation,
  int TokenInformationLength,
  ffi.Pointer<ffi.Uint64> ReturnLength,
) {
  return (_GetTokenInformation ??= _dylib.lookupFunction<
      _c_GetTokenInformation,
      _dart_GetTokenInformation>('GetTokenInformation'))(
    TokenHandle,
    TokenInformationClass,
    TokenInformation,
    TokenInformationLength,
    ReturnLength,
  );
}