struct GDIHandleBitFields { unsigned long Index:0:10; unsigned long Type:10:5; unsigned long AltType:15:2; unsigned long Stock:17:1; unsigned long Unique:18:8; };
This might help people trying to understand the inner workings of GDI... Its current as of windows XP SP1.