OpenDOF Project
DOFRouteInfo DOFSystem_CreateProviderRoute ( const DOFSystem  sys,
const DOFObjectID  objectID,
const DOFInterfaceID  interfaceID 
)

Return the current route information for the best, compatible provider (if any) given an Object ID and Interface ID.

Resource Management:
This function allocates resources that must later be freed by calling DOFRouteInfo_Destroy.
Parameters
sysThe System. This must not be NULL.
objectIDThe Object ID of the desired provider. This should not be NULL, and should not be the Broadcast or a multicast Object ID.
interfaceIDThe Interfaces ID of the desired provider. This should not be NULL, and should not be the Wildcard Interface ID.
Returns
The DOFRouteInfo for the best compatible provider, or NULL if a match could not be found.
Exceptions
NULLis returned if an invalid parameter is detected, or insufficient resources are available to create the route information.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22