Chapter 9 X Property Library
© National Instruments Corporation 9-17 LabWindows/CVI Standard Libraries
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.
InvalidParamXErr -1 NULL was passed to the parameter.
InvalidPropertyXErr -4 The property argument is not a valid property handle. This
argument must be the value returned by
CreateXProperty.
GetXPropTypeName
PropLibXErrType status = GetXPropTypeName (PropTypeHandleX propertyType,
char **typeName);
Purpose
Gets a property type name. This function returns the name associated with the property type.
Parameters
Input propertyType PropTypeHandleX Handle to property type for which the
name is to be obtained. This value must
either be one of the predefined property
types or be a value returned by
CreateXPropType.
Output typeName character pointer
(passed by reference) The property type name.
Warning: The typeName pointer points to memory allocated by CreateXPropType. You
must not attempt to free this pointer or to change its contents.
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.
InvalidParamXErr -1 NULL was passed to the name parameter.
InvalidPropTypeXErr -5 The propertyType argument is not a valid property type.
This value must either be one of the predefined property
types or be a value returned by CreateXPropType.