show method

void show(
  1. Rect selection
)

Implementation

void show(Rect selection) {
  final hr = ptr.ref.vtable
      .elementAt(15)
      .cast<
          Pointer<
              NativeFunction<HRESULT Function(Pointer, Rect selection)>>>()
      .value
      .asFunction<
          int Function(Pointer, Rect selection)>()(ptr.ref.lpVtbl, selection);

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