According to MSDN, OBJID_* constants are defined in winable.h,
not in winuser.h as is actually the case:
Logged In: YES
The problem you report has caused modification in some fashion in the official CVS for the given package. The w32api and
mingw-runtime official CVS reside in the winsup CVS directory tree for Cygwin. Those package CVS trees are periodically
merged into the MinGW CVS tree. If you still find problems then please open a new report.