enumTypeRefs method

int enumTypeRefs(
  1. Pointer<Pointer<NativeType>> phEnum,
  2. Pointer<Uint32> rTypeRefs,
  3. int cMax,
  4. Pointer<Uint32> pcTypeRefs,
)

Implementation

int enumTypeRefs(
  Pointer<Pointer> phEnum,
  Pointer<Uint32> rTypeRefs,
  int cMax,
  Pointer<Uint32> pcTypeRefs,
) => (ptr.ref.vtable + 8)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            Pointer<Pointer> phEnum,
            Pointer<Uint32> rTypeRefs,
            Uint32 cMax,
            Pointer<Uint32> pcTypeRefs,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        Pointer<Pointer> phEnum,
        Pointer<Uint32> rTypeRefs,
        int cMax,
        Pointer<Uint32> pcTypeRefs,
      )
    >()(ptr.ref.lpVtbl, phEnum, rTypeRefs, cMax, pcTypeRefs);