Using SmsDescribeFolder, your application can retrieve information about the scalars for an individual folder type. The SmsDescribeFolder function enables your application to retrieve information about an individual folder type. The properties for the specified folder type are stored in a FOLDER_INFO structure.
Within the FOLDER_INFO structure, the following members provide information about the scalars within the specified folder type:
By accessing the members of the SCALAR_INFO structure, your application can get the following information about the scalar:
Note that the access right of each scalar is set by the SMS API engine—your application can read the access right of a scalar but it cannot set the access right.
To set the value of a scalar, both the scalar and its folder must have an access right of ACCESS_MODIFY or ACCESS_CREATE. If you do not have ACCESS_MODIFY or ACCESS_CREATE right to the scalar, SmsSetScalar returns an SMS_SCALAR_NO_UPDATE value. If you do not have access to the folder, SmsSetScalar returns an SMS_FOLDER_NO_UPDATE value.
To read a scalar, the scalar must have an access right of ACCESS_READ.