[Webkit-unassigned] [Bug 80751] Windows IDL files should use generic pointers for Windows Handles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 11 09:16:33 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80751





--- Comment #3 from Patrick R. Gansterer <paroga at paroga.com>  2012-03-11 09:16:32 PST ---
(From update of attachment 131172)
View in context: https://bugs.webkit.org/attachment.cgi?id=131172&action=review

> Source/WebKit/win/ChangeLog:3
> +        Windows IDL files should use generic pointers for Windows Handles

can you explain the why in the changelog

> Source/WebKit/win/Interfaces/WebKit.idl:61
> +cpp_quote("#if 0")
> +typedef long HWND;
> +typedef long HDC;
> +typedef long HACCEL;
> +typedef long HMENU;
> +typedef long HICON;
> +typedef long HFONT;
> +typedef long HRGN;
> +cpp_quote("#endif")

can you explain this more detailed (in the ChangeLog)
Ususally HWND is defined as HANDLE, which is defined as void*. Why can't we do that here?

> Source/WebKit/win/WebKit.vcproj/Interfaces.vcproj:38
> +				PreprocessorDefinitions="_MIDL_DECLARE_WIREM_HANDLE"

is there no better place to set the PreporcessorDefinitions in one of the vsprops files?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list