I have an example in petzold (chapter 5, basic drawing) that was something like this (to implement the GetPixel function):
crColor = GetPixel(hdc, x, y)
I know what the parameters are for GetPixel and I understand what the function does, but what type is the return value to assign to?
Thanks.
--Garfield the Programmer