SetIconLocation method

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

Implementation

int SetIconLocation(Pointer<Utf16> pszIconPath, int iIcon) => ptr.ref.vtable
        .elementAt(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);