getArchitecture method

int getArchitecture(
  1. Pointer<Int32> architecture
)

Implementation

int getArchitecture(Pointer<Int32> architecture) => (ptr.ref.vtable + 4)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Int32> architecture)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Int32> architecture)>()(
    ptr.ref.lpVtbl, architecture);