getUInt64 method
Implementation
int getUInt64() {
final value = calloc<Uint64>();
try {
final hr = ptr.ref.vtable
.elementAt(14)
.cast<
Pointer<
NativeFunction<
HRESULT Function(
VTablePointer lpVtbl, Pointer<Uint64> value)>>>()
.value
.asFunction<
int Function(VTablePointer lpVtbl, Pointer<Uint64> value)>()(
ptr.ref.lpVtbl, value);
if (FAILED(hr)) throwWindowsException(hr);
return value.value;
} finally {
free(value);
}
}