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.
"Jonathan Wilson" jonwil@tpgi.com.au wrote:
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.
Internal presentation of GDI handles is well described in the Feng Yuan's book "Windows Graphics Programming". The struct above has a good coincidence with his findings.
Among other things that book has a good article about internal presentation of regions.