phonemeId property

int phonemeId

Implementation

int get phonemeId {
  final retValuePtr = calloc<Int16>();

  try {
    final hr = (ptr.ref.vtable + 17)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Pointer<Int16> PhoneId)>>>()
            .value
            .asFunction<int Function(Pointer, Pointer<Int16> PhoneId)>()(
        ptr.ref.lpVtbl, retValuePtr);

    if (FAILED(hr)) throw WindowsException(hr);

    final retValue = retValuePtr.value;
    return retValue;
  } finally {
    free(retValuePtr);
  }
}