registerAudioSessionNotification method

int registerAudioSessionNotification(
  1. Pointer<COMObject> NewNotifications
)

Implementation

int registerAudioSessionNotification(Pointer<COMObject> NewNotifications) =>
    (ptr.ref.vtable + 10)
        .cast<
          Pointer<
            NativeFunction<
              Int32 Function(Pointer, Pointer<COMObject> NewNotifications)
            >
          >
        >()
        .value
        .asFunction<
          int Function(Pointer, Pointer<COMObject> NewNotifications)
        >()(ptr.ref.lpVtbl, NewNotifications);