getIconLocation method

int getIconLocation(
  1. Pointer<Utf16> pszIconPath,
  2. int cch,
  3. Pointer<Int32> piIcon
)

Implementation

int getIconLocation(
        Pointer<Utf16> pszIconPath, int cch, Pointer<Int32> piIcon) =>
    (ptr.ref.vtable + 16)
            .cast<
                Pointer<
                    NativeFunction<
                        Int32 Function(Pointer, Pointer<Utf16> pszIconPath,
                            Int32 cch, Pointer<Int32> piIcon)>>>()
            .value
            .asFunction<
                int Function(Pointer, Pointer<Utf16> pszIconPath, int cch,
                    Pointer<Int32> piIcon)>()(
        ptr.ref.lpVtbl, pszIconPath, cch, piIcon);