copyTo method
Implementation
void copyTo(Calendar other) {
final hr = ptr.ref.vtable
.elementAt(95)
.cast<
Pointer<
NativeFunction<
HRESULT Function(Pointer, Pointer<COMObject> other)>>>()
.value
.asFunction<int Function(Pointer, Pointer<COMObject> other)>()(
ptr.ref.lpVtbl, other.ptr.cast<Pointer<COMObject>>().value);
if (FAILED(hr)) throw WindowsException(hr);
}