SetCategory method

int SetCategory(
  1. int NewCategory
)

Implementation

int SetCategory(int NewCategory) => ptr.ref.vtable
    .elementAt(19)
    .cast<
        Pointer<NativeFunction<Int32 Function(Pointer, Int32 NewCategory)>>>()
    .value
    .asFunction<
        int Function(
            Pointer, int NewCategory)>()(ptr.ref.lpVtbl, NewCategory);