The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: greenhorn on March 22, 2009, 11:13:13 PM

Title: History of windows.inc LV_COLUMN structure
Post by: greenhorn on March 22, 2009, 11:13:13 PM
Does anyone know the history of where the following came from:

imask  DWORD  ?
lx        DWORD  ?

Win32 API and MS SDK API lists these 2 as:

UINT mask;
int cx;

I fully assume that if windows.inc is updated, there are a lot of existing programs that will not compile, but it would be interesting to know how this came about.

BTW, there are several differences between the Win32 API and the MS SDK API if anyone is interested.

Thanks,
Title: Re: History of windows.inc LV_COLUMN structure
Post by: hutch-- on March 22, 2009, 11:31:27 PM
With MASM you are restricted from using reserve words and registers so if an SDK header file has either the member must be renamed to use it with MASM.
Title: Re: History of windows.inc LV_COLUMN structure
Post by: greenhorn on March 22, 2009, 11:48:01 PM
Thanks hutch, I should have stopped to think that cx is a register.