extension property
String
get
extension
Implementation
String get extension {
final value = calloc<IntPtr>();
try {
final hr = ptr.ref.vtable
.elementAt(9)
.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);
}
}