DWORD DIB_Pixel(LPPDEVICE lpDestDev, WORD X, WORD Y, DWORD dwPhysColor,
LPDRAWMODE lpDrawMode)
Sets or retrieves the color of the specified pixel. The function sets the given pixel to the color given by the dwPhysColor parameter if the lpDrawMode parameter specifies a binary raster operation. DIB_Pixel returns the physical color of the pixel if the lpDrawMode parameter is NULL.
Value | Meaning |
---|---|
Physical color | lpDrawMode was NULL and function succeeded |
0x00000001L | lpDrawMode was not NULL and function succeeded |
0x80000000L | Error |
The export ordinal for this function is 9.