includes: Update oleacc with new constants and iaccessible interface

Alexandre Julliard julliard at winehq.org
Thu Dec 13 04:52:45 CST 2007


Maarten Lankhorst <maarten at codeweavers.com> writes:

> +cpp_quote("#define ROLE_SYSTEM_ALERT 8")
> +cpp_quote("#define ROLE_SYSTEM_ANIMATION 54")
> +cpp_quote("#define ROLE_SYSTEM_APPLICATION 14")
> +cpp_quote("#define ROLE_SYSTEM_BORDER 19")
> +cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWN  56")
> +cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWNGRID 58")
> +cpp_quote("#define ROLE_SYSTEM_BUTTONMENU 57")
> +cpp_quote("#define ROLE_SYSTEM_CARET 7")

Entries should be sorted by value, not by name.

> +typedef enum tagSELFLAG
> +{
> +  SELFLAG_NONE = 0,
> +  SELFLAG_TAKEFOCUS = 1,
> +  SELFLAG_TAKESELECTION = 2,
> +  SELFLAG_EXTENDSELECTION = 4,
> +  SELFLAG_ADDSELECTION = 8,
> +  SELFLAG_REMOVESELECTION = 16
> +} SELFLAG;

These should be defines, not enums.

> +    HRESULT get_accParent([out, retval]IDispatch** ppdispParent);
> +    HRESULT get_accChildCount([out, retval] long* pcountChildren);
> +    HRESULT get_accChild([in] VARIANT varChildID, [out, retval]IDispatch **ppdispChild);

These (and the others) should be propget functions.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list