I am using the Win32 API to do XOR drawing on a picture box. I have some problem passing the desire color to the Win32 CreatePen function. How do i passe a Color to a function that need a COLORREF?