[Accessibility-ia2] Extra localized state method? If so please remove from IDL.

Aaron Leventhal aaronlev at moonset.net
Mon Feb 26 06:45:08 PST 2007


 From my understanding all the localized* methods 
are to support 3rd
party authors (such as web authors using ARIA).

For built-in roles and properties with 
enumerations, the application
doesn't need to provide a localized version. It's 
the AT's job to do that.
Either my understanding is incorrect or 
localizedStateNames is superfluous.

  /** @brief Returns localized state names (array 
of strings).
   @param [in] maxLocalizedStateNames
   @param [out] localizedStateNames
   @param [out] nLocalizedStateNames
  */
  [propget] HRESULT localizedStateNames
    (
     [in] long maxLocalizedStateNames,
     [out, size_is(,maxLocalizedStateNames),
length_is(,*nLocalizedStateNames)] BSTR 
**localizedStateNames,
     [out, retval] long *nLocalizedStateNames
    );

  /** @brief Returns the extended states (array of 
strings).

   An extended state is a state which is 
dynamically generated by the
application.
   It is not predefined by the IAccessible2 
specification.

   @param [in] maxExtendedStates
   @param [out] extendedStates
   @param [out] nExtendedStates
  */
  [propget] HRESULT extendedStates
    (
     [in] long maxExtendedStates,
     [out, size_is(,maxExtendedStates), 
length_is(,*nExtendedStates)]
BSTR **extendedStates,
     [out, retval] long *nExtendedStates
    );




More information about the Accessibility-ia2 mailing list