split method

void split(
  1. IMapView<K, V> first,
  2. IMapView<K, V> second
)

Splits the map view into two views.

Implementation

void split(IMapView<K, V> first, IMapView<K, V> second) {
  final hr = ptr.ref.lpVtbl.value
      .elementAt(9)
      .cast<
          Pointer<
              NativeFunction<
                  HRESULT Function(
                      Pointer, Pointer<COMObject>, Pointer<COMObject>)>>>()
      .value
      .asFunction<
          int Function(Pointer, Pointer<COMObject>,
              Pointer<COMObject>)>()(ptr.ref.lpVtbl, first.ptr, second.ptr);

  if (FAILED(hr)) throw WindowsException(hr);
}