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