close method
void
close()
Implementation
void close() {
final hr = ptr.ref.vtable
.elementAt(10)
.cast<Pointer<NativeFunction<HRESULT Function(VTablePointer lpVtbl)>>>()
.value
.asFunction<int Function(VTablePointer lpVtbl)>()(ptr.ref.lpVtbl);
if (FAILED(hr)) throwWindowsException(hr);
}