X Property Library Chapter 9
LabWindows/CVI Standard Libraries 9-18 © National Instruments Corporation
See Also
CreateXPropType
GetXPropTypeSize
PropLibXErrType status = GetXPropTypeSize (PropTypeHandleX propertyType,
unsigned int *size);
Purpose
Gets a property type size. This function returns the size associated with the property type. The
size is the number of bytes in a single property item.
Parameters
Input propertyType PropTypeHandleX Handle to property type for which the size
is to be obtained. This value must either
be one of the predefined property types or
be a value returned by
CreateXPropType.
Output size unsigned integer
(passed by reference) The size associated with the property type.
The size is the number of bytes in a single
property item.
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 size 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.
See Also
CreateXPropType