OpenDOF Project
DOFInterface DOFObject_Define ( const DOFObject  self,
const DOFInterfaceID  interfaceID,
DOFOperationControl  config,
uint32  timeout,
DOFException pException 
)

Request that an Interface definition be located in the network and retrieved.

There is no guarantee that a definition can be found.

Resource Management:
This function allocates resources that must later be freed by calling DOFInterface_Destroy.
Parameters
selfThe Object on which to make the request. This must not be NULL.
interfaceIDThe identifier for the Interface to be defined. This should not be NULL, and should not be the wildcard IID.
configConfiguration options for the request operation (NULL for default configuration).
timeoutThe maximum amount of time to wait for the definition, in milliseconds. The timeout begins after the operation has been processed and sent to appropriate connections.
[out]pExceptionAn Exception. If pException is NULL, no exception is reported. Otherwise, the output is either a DOFException, or NULL to indicate no exception occurred. DOFException_Destroy must be called to destroy the returned DOFException, if any.
Returns
The Interface retrieved.
Exceptions
NULLis returned and pException is set with one of the following errors:
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22