Jon Griffiths jon_p_griffiths@yahoo.com writes:
Right, but the 16 bit header are non SDK headers. what I'm talking about as the first step is removing SDK headers included from the non SDK headers in include/. With your example of not removing winuser.h since it will need to be added in again to the files that use the private headers, I am suggesting removing the inclusion of winuser.h from e.g. winpos.h and win.h, and including them in the files that need them directly.
It's the same issue, I took 16-bit headers as example but you can have the same problem with SDK headers, it's quite possible that a file doesn't need winuser.h by itself. So you would first have to move the includes out of the non-sdk header into the source files, and then once you get rid of the non-sdk header go back and remove the unneeded headers again. It's a lot easier to wait until the non-sdk header gets removed and then do everything in one step.