GetSelectedControlItem method Null safety

int GetSelectedControlItem(
  1. int dwIDCtl,
  2. Pointer<Uint32> pdwIDItem
)

Implementation

int GetSelectedControlItem(int dwIDCtl, Pointer<Uint32> pdwIDItem) =>
    ptr.ref.lpVtbl.value
            .elementAt(24)
            .cast<Pointer<NativeFunction<_GetSelectedControlItem_Native>>>()
            .value
            .asFunction<_GetSelectedControlItem_Dart>()(
        ptr.ref.lpVtbl, dwIDCtl, pdwIDItem);