Recently I read the win32 documentation in the msdn and I found this
<quote msdn>
Not all devices support GetPixel. An application should call GetDeviceCaps
to determine whether a specified device supports this function.
<end quote>
1. I can't find the correct way to use GetDeviceCaps to determine wether
GetPixel is supported by the device.
2.Assuming its a memory device which is more or less a construct of windows
itself why should GetPixel not work?
3.What exactly are devices which don't know the GetPixel function generally
dc of printers or display dcs?
Well please correct me but in my opinion using GetPixel should be save when
dealing with memory DC and display DCs
shouldn't it?
Comment Help Ideas concerning this WANTED
Cu and thanks Alexander
MSDN is talking about printers. It makes no sense for, say, a plotter to
support GetPixel, yet you can still interface with plotters via GDI.
GetPixel on a display device will be safe.
--
Tim Robinson, MVP (Windows SDK)