findTypeRef method

int findTypeRef(
  1. int tkResolutionScope,
  2. Pointer<Utf16> szName,
  3. Pointer<Uint32> ptr_
)

Implementation

int findTypeRef(
        int tkResolutionScope, Pointer<Utf16> szName, Pointer<Uint32> ptr_) =>
    (ptr.ref.vtable + 55)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Uint32 tkResolutionScope,
                            Pointer<Utf16> szName, Pointer<Uint32> ptr_)>>>()
            .value
            .asFunction<
                int Function(Pointer, int tkResolutionScope,
                    Pointer<Utf16> szName, Pointer<Uint32> ptr_)>()(
        ptr.ref.lpVtbl, tkResolutionScope, szName, ptr_);