mshtml: Change long to LONG in mshtml.idl (HTML*Element stuff).

Michael Stefaniuc mstefani at redhat.com
Thu Mar 12 04:11:53 CDT 2009


Alistair Leslie-Hughes wrote:
> In Microsoft mshtml.idl "IHTMLElement.sourceIndex" has the long type, not LONG.
LONG is typedef'ed to long in IDL.

> Whats the reason for the change?
long is always 32bit in IDL files but long is a 64bit integer on
non-Windows 64bit OSes. Thus widl has to be fixed to output a 32bit
integer for long when generating the C files. The widl fix itself is
probably small but the "collateral damage" in the rest of the Wine code
is one big patch with a 4 digit changed lines figure. This are
preparation patches to make the final widl patch be a lot smaller.

bye
	michael



More information about the wine-devel mailing list