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