I think I'm correct in assuming this returns a DC to the DIB that was created correct? If so, then this
Should put the image I load and convert onto the current page in the printer assuming that phdc is the dc of the printer.
I can verify that it is, as I used 0 for the last parameter in the bitblt which blacks all pixels in rect that is defined by parameters 2-5. But when I change the last parameter to SRCCOPY (13369376) I get nothing. So I can only assume that either the pixmap wasn't loaded by
or it wasn't converted by the above function.
Any ideas?
_BitBlt(phdc, 0,0, 5120,3840, imap, 0,0, 13369376)
Should put the image I load and convert onto the current page in the printer assuming that phdc is the dc of the printer.
I can verify that it is, as I used 0 for the last parameter in the bitblt which blacks all pixels in rect that is defined by parameters 2-5. But when I change the last parameter to SRCCOPY (13369376) I get nothing. So I can only assume that either the pixmap wasn't loaded by
pmap = LoadPixmap("C:\picture.bmp")
or it wasn't converted by the above function.
Any ideas?