Month property
int
Month
Implementation
int get Month {
final retValuePtr = calloc<Int32>();
try {
final hr = _thisPtr.ref.vtable
.elementAt(39)
.cast<
Pointer<
NativeFunction<HRESULT Function(Pointer, Pointer<Int32>)>>>()
.value
.asFunction<
int Function(
Pointer, Pointer<Int32>)>()(_thisPtr.ref.lpVtbl, retValuePtr);
if (FAILED(hr)) throw WindowsException(hr);
final retValue = retValuePtr.value;
return retValue;
} finally {
free(retValuePtr);
}
}
Implementation
set Month(int value) {
final hr = _thisPtr.ref.vtable
.elementAt(40)
.cast<Pointer<NativeFunction<HRESULT Function(Pointer, Int32)>>>()
.value
.asFunction<int Function(Pointer, int)>()(_thisPtr.ref.lpVtbl, value);
if (FAILED(hr)) throw WindowsException(hr);
}