|
Create a new DOFValue to hold an array of values of type String (char *).
- Resource Management:
- This function allocates resources that must later be freed by calling DOFValue_Destroy.
- Parameters
-
len | Element count of the new array. This may be 0, and should be less than 32768. |
val | Array of String (char *) values to be held by the new DOFValue. This must not be NULL if len > 0, and must point to memory containing at least len String (char *) values. |
encoding | The MIBenum value, a unique value identifying a specific coded character set used by all strings in val. This should be > 2. Example: DOFVALUESTRING_US_ASCII. |
- Returns
- The new DOFValue, representing an array of values of type String (char *).
- Exceptions
-
NULL | is returned if the resulting DOFValue could not be created, or an invalid parameter was detected. |
|