treeFilter property
Implementation
Pointer<COMObject> get treeFilter {
final retValuePtr = calloc<COMObject>();
final hr = (ptr.ref.vtable + 8)
.cast<
Pointer<
NativeFunction<Int32 Function(Pointer, Pointer<COMObject> filter)>
>
>()
.value
.asFunction<
int Function(Pointer, Pointer<COMObject> filter)
>()(ptr.ref.lpVtbl, retValuePtr);
if (FAILED(hr)) {
free(retValuePtr);
throw WindowsException(hr);
}
return retValuePtr;
}
Implementation
set treeFilter(Pointer<COMObject> value) {
final hr = (ptr.ref.vtable + 9)
.cast<
Pointer<
NativeFunction<Int32 Function(Pointer, Pointer<COMObject> filter)>
>
>()
.value
.asFunction<
int Function(Pointer, Pointer<COMObject> filter)
>()(ptr.ref.lpVtbl, value);
if (FAILED(hr)) throw WindowsException(hr);
}