Export (0) Print
Expand All

The [max_is] Attribute

You can specify the valid bounds of the index numbers of an array using the [max_is] attribute.

/* IDL file */
[ 
  uuid(ba209999-0c6c-11d2-97cf-00c04f8eea45),
  version(5.0)
]
interface arraytest
{
  void fArray5([in] short sMax,
               [in, out, max_is(sMax)]  char achArray[]);
}

 

 

Community Additions

ADD
Show:
© 2014 Microsoft