You can use these attributes to specify characteristics of arrays and multiple levels of pointers:
Attribute | Usage |
---|---|
size_is | Specifies the amount of memory to be allocated for sized pointers, sized pointers to sized pointers, and single- or multidimensional arrays. |
max_is | The maximum value for an array index. |
length_is | The number of array elements to be transmitted. |
first_is | The index of the first array element to be transmitted. |
last_is | Gives the index of the last array element to be transmitted. |
string | Indicates that the one-dimensional char, wchar_t, byte (or equivalent) array, or the pointer to such an array, is to be handled as a string. |