showWithPlacement method
Implementation
void showWithPlacement(Rect selection, Placement placement) {
final hr = ptr.ref.vtable
.elementAt(16)
.cast<
Pointer<
NativeFunction<
HRESULT Function(
Pointer, Rect selection, Int32 placement)>>>()
.value
.asFunction<int Function(Pointer, Rect selection, int placement)>()(
ptr.ref.lpVtbl, selection, placement.value);
if (FAILED(hr)) throw WindowsException(hr);
}