Skip to main content

AREthCreateProvidedServiceInstance

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

This function creates a Provided Service Instance and adds it to an Application Endpoint which was created by AREthOpenLocalApplicationEndpoint. Objects can be assigned to the Service Instance as follows: The Service Instance can be deleted again with AREthReleaseProvidedServiceInstance.

Parameters

Return Values

  • 0: An error occurred. The error can be evaluated using the AREthGetLastError function.
  • >0: Handle of the generated Provided Service Instance

Example

See Also: AREthAddEvent, AREthAddEventToEventgroup, AREthAddField, AREthAddMethod, AREthReleaseProvidedServiceInstance