GetCheckButtonState method Null safety

int GetCheckButtonState(
  1. int dwIDCtl,
  2. Pointer<Int32> pbChecked
)

Implementation

int GetCheckButtonState(int dwIDCtl, Pointer<Int32> pbChecked) =>
    ptr.ref.lpVtbl.value
            .elementAt(17)
            .cast<Pointer<NativeFunction<_GetCheckButtonState_Native>>>()
            .value
            .asFunction<_GetCheckButtonState_Dart>()(
        ptr.ref.lpVtbl, dwIDCtl, pbChecked);