ViewMode property
int
get
ViewMode
Implementation
int get ViewMode {
final retValuePtr = calloc<Int32>();
try {
final hr = _thisPtr.ref.vtable
.elementAt(6)
.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);
}
}
set
ViewMode
(int value)
Implementation
set ViewMode(int value) {
final hr = _thisPtr.ref.vtable
.elementAt(7)
.cast<Pointer<NativeFunction<HRESULT Function(Pointer, Int32)>>>()
.value
.asFunction<int Function(Pointer, int)>()(_thisPtr.ref.lpVtbl, value);
if (FAILED(hr)) throw WindowsException(hr);
}