OpenDOF Project
DOFResult DOFOperationSet_GetResult ( const DOFOperation  op,
DOFException pException 
)

Return the result of the Set Operation, if any.

This does not block the caller.

Note
For broadcast or multicast operations, this returns the first result only. Multiple results are returned only via the operation's callback.
Lifecycle
The data returned is owned by the DOFOperation and is only valid as long as the DOFOperation remains valid. It must not be destroyed individually.
Parameters
opThe Operation. This must not be NULL and must represent a valid Set Operation.
[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 DOFResult of the Operation, or NULL if a result cannot be returned. There are two cases in which a result cannot be returned:
  • If the operation's result was an exception, the exception is reported via pException, which will be non-NULL.
  • If the operation does not yet have a result, pException will represent a DOFERROR_FAILED.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22