enumModuleRefs method

int enumModuleRefs(
  1. Pointer<Pointer<NativeType>> phEnum,
  2. Pointer<Uint32> rModuleRefs,
  3. int cmax,
  4. Pointer<Uint32> pcModuleRefs,
)

Implementation

int enumModuleRefs(
  Pointer<Pointer> phEnum,
  Pointer<Uint32> rModuleRefs,
  int cmax,
  Pointer<Uint32> pcModuleRefs,
) => (ptr.ref.vtable + 43)
    .cast<
      Pointer<
        NativeFunction<
          Int32 Function(
            Pointer,
            Pointer<Pointer> phEnum,
            Pointer<Uint32> rModuleRefs,
            Uint32 cmax,
            Pointer<Uint32> pcModuleRefs,
          )
        >
      >
    >()
    .value
    .asFunction<
      int Function(
        Pointer,
        Pointer<Pointer> phEnum,
        Pointer<Uint32> rModuleRefs,
        int cmax,
        Pointer<Uint32> pcModuleRefs,
      )
    >()(ptr.ref.lpVtbl, phEnum, rModuleRefs, cmax, pcModuleRefs);