GetControlState method Null safety

int GetControlState(
  1. int dwIDCtl,
  2. Pointer<Uint32> pdwState
)

Implementation

int GetControlState(int dwIDCtl, Pointer<Uint32> pdwState) => ptr
    .ref.lpVtbl.value
    .elementAt(13)
    .cast<Pointer<NativeFunction<_GetControlState_Native>>>()
    .value
    .asFunction<_GetControlState_Dart>()(ptr.ref.lpVtbl, dwIDCtl, pdwState);