GetEditBoxText method Null safety

int GetEditBoxText(
  1. int dwIDCtl,
  2. Pointer<Pointer<Uint16>> ppszText
)

Implementation

int GetEditBoxText(int dwIDCtl, Pointer<Pointer<Uint16>> ppszText) => ptr
    .ref.lpVtbl.value
    .elementAt(15)
    .cast<Pointer<NativeFunction<_GetEditBoxText_Native>>>()
    .value
    .asFunction<_GetEditBoxText_Dart>()(ptr.ref.lpVtbl, dwIDCtl, ppszText);