SetSelectedControlItem method Null safety

int SetSelectedControlItem(
  1. int dwIDCtl,
  2. int dwIDItem
)

Implementation

int SetSelectedControlItem(int dwIDCtl, int dwIDItem) =>
    ptr.ref.lpVtbl.value
            .elementAt(25)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer, Uint32 dwIDCtl, Uint32 dwIDItem)>>>()
            .value
            .asFunction<int Function(Pointer, int dwIDCtl, int dwIDItem)>()(
        ptr.ref.lpVtbl, dwIDCtl, dwIDItem);