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