parseDisplayName method

int parseDisplayName(
  1. int hwnd,
  2. Pointer<COMObject> pbc,
  3. Pointer<Utf16> pszDisplayName,
  4. Pointer<Uint32> pchEaten,
  5. Pointer<Pointer<ITEMIDLIST>> ppidl,
  6. Pointer<Uint32> pdwAttributes,
)

Implementation

int parseDisplayName(
        int hwnd,
        Pointer<COMObject> pbc,
        Pointer<Utf16> pszDisplayName,
        Pointer<Uint32> pchEaten,
        Pointer<Pointer<ITEMIDLIST>> ppidl,
        Pointer<Uint32> pdwAttributes) =>
    ptr.ref.vtable
            .elementAt(3)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(
                            Pointer,
                            IntPtr hwnd,
                            Pointer<COMObject> pbc,
                            Pointer<Utf16> pszDisplayName,
                            Pointer<Uint32> pchEaten,
                            Pointer<Pointer<ITEMIDLIST>> ppidl,
                            Pointer<Uint32> pdwAttributes)>>>()
            .value
            .asFunction<
                int Function(
                    Pointer,
                    int hwnd,
                    Pointer<COMObject> pbc,
                    Pointer<Utf16> pszDisplayName,
                    Pointer<Uint32> pchEaten,
                    Pointer<Pointer<ITEMIDLIST>> ppidl,
                    Pointer<Uint32> pdwAttributes)>()(ptr.ref.lpVtbl, hwnd,
        pbc, pszDisplayName, pchEaten, ppidl, pdwAttributes);