EOS_Ecom_Transaction_CopyEntitlementByIndex

EOS API reference page for EOS_Ecom_Transaction_CopyEntitlementByIndex

1 min to read

This function is part of the Ecom Interface.

Remarks

Fetches an entitlement from a given index.

Return Value

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

  • EOS_Ecom_EntitlementStale if the entitlement information is stale and passed out in OutEntitlement

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

  • EOS_NotFound if the entitlement is not found

See Also

EOS_Ecom_Entitlement_Release

Parameters

EOS_Ecom_Transaction_CopyEntitlementByIndex

Parameter Type And NameUsage Information
EOS_Ecom_HTransaction Handle
const EOS_Ecom_Transaction_CopyEntitlementByIndexOptions* Optionsstructure containing the index being accessed
EOS_Ecom_Entitlement** OutEntitlementthe entitlement for the given index, if it exists and is valid, use EOS_Ecom_Entitlement_Release when finished