WS_CAPTION is a two bit field, so test appropriately.
[wine] / win32 /
drwxr-xr-x   ..
-rw-r--r-- 63262 device.c
-rw-r--r-- 18358 except.c
-rw-r--r-- 1866 kernel32.c
-rw-r--r-- 9090 newfns.c