setHotkey method

int setHotkey(
  1. int wHotkey
)

Implementation

int setHotkey(int wHotkey) => ptr.ref.vtable
    .elementAt(13)
    .cast<Pointer<NativeFunction<Int32 Function(Pointer, Uint16 wHotkey)>>>()
    .value
    .asFunction<
        int Function(Pointer, int wHotkey)>()(ptr.ref.lpVtbl, wHotkey);