SetControlLabel method Null safety

int SetControlLabel(
  1. int dwIDCtl,
  2. Pointer<Utf16> pszLabel
)

Implementation

int SetControlLabel(int dwIDCtl, Pointer<Utf16> pszLabel) => ptr
    .ref.lpVtbl.value
    .elementAt(12)
    .cast<Pointer<NativeFunction<_SetControlLabel_Native>>>()
    .value
    .asFunction<_SetControlLabel_Dart>()(ptr.ref.lpVtbl, dwIDCtl, pszLabel);