windows regions

Hi all,

I am making an aplication that renders a character in a window in opengl, i use regions (HRGN) so that only is visible the character, not the rest of the window.
I use gluproject to convert the character polygons into window coordinates to create the region.

I do all ok but the region appears incorrect, not all correct.

Somebody has experience in the same thing?

Thanks.