EOS_Ecom_CopyOfferItemByIndex

EOS API reference page for EOS_Ecom_CopyOfferItemByIndex

2 mins to read

This function is part of the Ecom Interface.

Remarks

Fetches an item from a given index.

Return Value

  • EOS_Success if the information is available and passed out in OutItem

  • EOS_InvalidParameters if you pass a null pointer for the out parameter

  • EOS_Ecom_CatalogItemStale if the item information is stale

  • EOS_NotFound if the item is not found

See Also

EOS_Ecom_CatalogItem_Release, EOS_Ecom_GetItemImageInfoCount, EOS_Ecom_GetItemReleaseCount

Parameters

EOS_Ecom_CopyOfferItemByIndex

Parameter Type And NameUsage Information
EOS_HEcom Handle
const EOS_Ecom_CopyOfferItemByIndexOptions* Optionsstructure containing the Epic Account ID and index being accessed
EOS_Ecom_CatalogItem** OutItemthe item for the given index, if it exists and is valid, use EOS_Ecom_CatalogItem_Release when finished

If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.