typedef TQ3Status (*TQ3ElementCopyAddMethod) ( const void *fromAPIElement, void *toInternalElement);fromAPIElement
A pointer to the element data associated with an element having your custom element type.toInternalElement
On entry, a pointer to an uninitialized block of memory large enough to contain the element data associated with an element having your custom element type.
TQ3ElementCopyAddMethod
function should copy the element data pointed to by the fromAPIElement
parameter into the location pointed to by the toInternalElement
parameter. This method is called whenever the Q3Set_Add
or Q3AttributeSet_Add
function is used to add an element of your custom type to a set. The fromAPIElement
parameter contains the same data pointer that was passed to Q3Set_Add
or Q3AttributeSet_Add
.TQ3ElementCopyAddMethod
function should return kQ3Success
if it is successful and kQ3Failure
otherwise.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker