isFormatSupported method

int isFormatSupported(
  1. int ShareMode,
  2. Pointer<WAVEFORMATEX> pFormat,
  3. Pointer<Pointer<WAVEFORMATEX>> ppClosestMatch
)

Implementation

int
    isFormatSupported(int ShareMode, Pointer<WAVEFORMATEX> pFormat,
            Pointer<Pointer<WAVEFORMATEX>> ppClosestMatch) =>
        ptr.ref.vtable
                .elementAt(7)
                .cast<
                    Pointer<
                        NativeFunction<
                            Int32 Function(
                                Pointer,
                                Int32 ShareMode,
                                Pointer<WAVEFORMATEX> pFormat,
                                Pointer<Pointer<WAVEFORMATEX>>
                                    ppClosestMatch)>>>()
                .value
                .asFunction<
                    int Function(
                        Pointer,
                        int ShareMode,
                        Pointer<WAVEFORMATEX> pFormat,
                        Pointer<Pointer<WAVEFORMATEX>> ppClosestMatch)>()(
            ptr.ref.lpVtbl, ShareMode, pFormat, ppClosestMatch);