2.2.4.14.2 range Attribute to Limit the Range of Maximum Count of Conformant Array and String Length
MIDL extends the productions of IDL syntax with the following range definition.
-
[range(low-val, high-val), <conf_range_attr>] type-specifier declarator conf_range_attr::=size_is<var_attr_list>| max_is<var_attr_list>| string
low-val and high-val are integer constant expressions as specified in [C706] "P 14.01" section 4.4.1.