inheritsFrom method

int inheritsFrom(
  1. Pointer<Utf16> strAncestor
)

Implementation

int inheritsFrom(Pointer<Utf16> strAncestor) => (ptr.ref.vtable + 18)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(Pointer, Pointer<Utf16> strAncestor)>>>()
        .value
        .asFunction<int Function(Pointer, Pointer<Utf16> strAncestor)>()(
    ptr.ref.lpVtbl, strAncestor);