compareIDs method

int compareIDs(
  1. int lParam,
  2. Pointer<ITEMIDLIST> pidl1,
  3. Pointer<ITEMIDLIST> pidl2
)

Implementation

int compareIDs(
        int lParam, Pointer<ITEMIDLIST> pidl1, Pointer<ITEMIDLIST> pidl2) =>
    (ptr.ref.vtable + 7)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            IntPtr lParam,
                            Pointer<ITEMIDLIST> pidl1,
                            Pointer<ITEMIDLIST> pidl2)>>>()
            .value
            .asFunction<
                int Function(Pointer, int lParam, Pointer<ITEMIDLIST> pidl1,
                    Pointer<ITEMIDLIST> pidl2)>()(
        ptr.ref.lpVtbl, lParam, pidl1, pidl2);