getCapabilities method

int getCapabilities(
  1. Pointer<Int32> capabilities
)

Implementation

int getCapabilities(Pointer<Int32> capabilities) => (ptr.ref.vtable + 6)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Int32> capabilities)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Int32> capabilities)>()(
    ptr.ref.lpVtbl, capabilities);