getBufferSizeLimits method

int getBufferSizeLimits(
  1. Pointer<WAVEFORMATEX> pFormat,
  2. int bEventDriven,
  3. Pointer<Int64> phnsMinBufferDuration,
  4. Pointer<Int64> phnsMaxBufferDuration,
)

Implementation

int getBufferSizeLimits(
        Pointer<WAVEFORMATEX> pFormat,
        int bEventDriven,
        Pointer<Int64> phnsMinBufferDuration,
        Pointer<Int64> phnsMaxBufferDuration) =>
    (ptr.ref.vtable + 17)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            Pointer<WAVEFORMATEX> pFormat,
                            Int32 bEventDriven,
                            Pointer<Int64> phnsMinBufferDuration,
                            Pointer<Int64> phnsMaxBufferDuration)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    Pointer<WAVEFORMATEX> pFormat,
                    int bEventDriven,
                    Pointer<Int64> phnsMinBufferDuration,
                    Pointer<Int64> phnsMaxBufferDuration)>()(ptr.ref.lpVtbl,
        pFormat, bEventDriven, phnsMinBufferDuration, phnsMaxBufferDuration);