Chapter 9 X Property Library
© National Instruments Corporation 9-13 LabWindows/CVI Standard Libraries
Parameter
Input property PropertyHandleX Handle to the property information to be
destroyed. This value must either be one
of the predefined property types or be a
value returned by CreateXPropType.
Return Values
The return value indicates the success or failure status of the function call. A negative value
indicates an error. The following table shows status values.
NoXErr 0 The function was successful.
InvalidPropertyXErr -4 The property argument is not a valid property. This
argument must be the value returned by
CreateXProperty.
PropertyInUseXErr -10 A property callback was installed with
InstallPropertyCallback for this property.
_____________________________________________________________________________
DestroyXPropType
PropLibXErrType status = DestroyXPropType (PropTypeHandleX propertyType);
Purpose
Destroys X property type. You can use this function when you no longer need a property type.
This function frees memory that was allocated by CreateXPropType. The property type
cannot be used after this function is called.
All property types are destroyed when the program terminates.
Note: It is not possible to destroy property types if there are properties that use them.
Parameter
Input propertyType PropertyHandleX Handle of the property type to be destroyed.
This value must either be one of the
predefined property types or be a value
returned by CreateXPropType.