code property
String
get
code
Implementation
String get code {
final value = calloc<IntPtr>();
try {
final hr = ptr.ref.vtable
.elementAt(6)
.cast<
Pointer<
NativeFunction<
HRESULT Function(
VTablePointer lpVtbl, Pointer<IntPtr> value)>>>()
.value
.asFunction<
int Function(VTablePointer lpVtbl, Pointer<IntPtr> value)>()(
ptr.ref.lpVtbl, value);
if (FAILED(hr)) throwWindowsException(hr);
return value.toDartString();
} finally {
free(value);
}
}