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