SetCheckButtonState method

int SetCheckButtonState(
  1. int dwIDCtl,
  2. int bChecked
)

Implementation

int SetCheckButtonState(int dwIDCtl, int bChecked) =>
    ptr.ref.vtable
            .elementAt(18)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer, Uint32 dwIDCtl, Int32 bChecked)>>>()
            .value
            .asFunction<int Function(Pointer, int dwIDCtl, int bChecked)>()(
        ptr.ref.lpVtbl, dwIDCtl, bChecked);