compareRuntimeIds method

int compareRuntimeIds(
  1. Pointer<SAFEARRAY> runtimeId1,
  2. Pointer<SAFEARRAY> runtimeId2,
  3. Pointer<Int32> areSame
)

Implementation

int compareRuntimeIds(
  Pointer<SAFEARRAY> runtimeId1,
  Pointer<SAFEARRAY> runtimeId2,
  Pointer<Int32> areSame,
) => (ptr.ref.vtable + 4)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            Pointer<SAFEARRAY> runtimeId1,
            Pointer<SAFEARRAY> runtimeId2,
            Pointer<Int32> areSame,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        Pointer<SAFEARRAY> runtimeId1,
        Pointer<SAFEARRAY> runtimeId2,
        Pointer<Int32> areSame,
      )
    >()(ptr.ref.lpVtbl, runtimeId1, runtimeId2, areSame);