setToMin method

void setToMin()

Implementation

void setToMin() {
  final hr = ptr.ref.vtable
      .elementAt(7)
      .cast<Pointer<NativeFunction<HRESULT Function(Pointer)>>>()
      .value
      .asFunction<int Function(Pointer)>()(ptr.ref.lpVtbl);

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