setIconLocation method

int setIconLocation(
  1. Pointer<Utf16> pszIconPath,
  2. int iIcon
)

Implementation

int setIconLocation(Pointer<Utf16> pszIconPath, int iIcon) =>
    (ptr.ref.vtable + 17)
        .cast<
            Pointer<
                NativeFunction<
                    Int32 Function(
                        Pointer, Pointer<Utf16> pszIconPath, Int32 iIcon)>>>()
        .value
        .asFunction<
            int Function(Pointer, Pointer<Utf16> pszIconPath,
                int iIcon)>()(ptr.ref.lpVtbl, pszIconPath, iIcon);