setChannelVolume method

int setChannelVolume(
  1. int dwIndex,
  2. double fLevel,
  3. Pointer<GUID> EventContext
)

Implementation

int setChannelVolume(
  int dwIndex,
  double fLevel,
  Pointer<GUID> EventContext,
) => (ptr.ref.vtable + 4)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            Uint32 dwIndex,
            Float fLevel,
            Pointer<GUID> EventContext,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        int dwIndex,
        double fLevel,
        Pointer<GUID> EventContext,
      )
    >()(ptr.ref.lpVtbl, dwIndex, fLevel, EventContext);