SetControlItemText method Null safety

int SetControlItemText(
  1. int dwIDCtl,
  2. int dwIDItem,
  3. Pointer<Utf16> pszLabel
)

Implementation

int SetControlItemText(int dwIDCtl, int dwIDItem, Pointer<Utf16> pszLabel) =>
    ptr.ref.lpVtbl.value
            .elementAt(29)
            .cast<Pointer<NativeFunction<_SetControlItemText_Native>>>()
            .value
            .asFunction<_SetControlItemText_Dart>()(
        ptr.ref.lpVtbl, dwIDCtl, dwIDItem, pszLabel);