Documentação da API > Features > Object ProUdfreference > Function ProUdfreferenceAlloc
Function ProUdfreferenceAlloc
Description
Allocate and set a ProUdfreference structure which describes a reference for a UDF
Synopsis
#include <ProUdf.h>
ProUdfreferenceAlloc
(
ProLine prompt
/* (In)
The prompt defined for the reference in the UDF
*/
ProSelection ref_item
/* (In)
The item to be referenced. Allowed to be NULL only if this is a Annotation Element reference which will be left as incomplete after UDF placement
*/
ProBoolean external
/* (In)
Whether the reference is to an item which is referenced though a parent assembly of the solid owning the UDF
*/
ProUdfreference* reference
/* (Out)
The allocated ProUdfreference structure
*/
)
Returns
The function succeeded.
One or more input arguments was invalid.
The selected item is an embedded datum and cannot be used as UDF reference.
See Also
Sample Code References
User Guide References
Isto foi útil?