setWaveFormatEx method

int setWaveFormatEx(
  1. Pointer<COMObject> SpeechWaveFormatEx
)

Implementation

int setWaveFormatEx(Pointer<COMObject> SpeechWaveFormatEx) =>
    (ptr.ref.vtable + 12)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer,
                            Pointer<COMObject> SpeechWaveFormatEx)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer, Pointer<COMObject> SpeechWaveFormatEx)>()(
        ptr.ref.lpVtbl, SpeechWaveFormatEx);