setDateTime method
Implementation
void setDateTime(DateTime value) {
final hr = ptr.ref.vtable
.elementAt(17)
.cast<
Pointer<
NativeFunction<
HRESULT Function(VTablePointer lpVtbl, Int64 value)>>>()
.value
.asFunction<int Function(VTablePointer lpVtbl, int value)>()(
ptr.ref.lpVtbl, value.toWinRTDateTime());
if (FAILED(hr)) throwWindowsException(hr);
}