DirectX SDK |
The DirectDrawSurface7.GetLockedPixel method returns the specified pixel set by DirectDrawSurface7.SetLockedPixel.
object.GetLockedPixel( _ x As Long, _ y As Long) As Long
If the method succeeds, it returns the color of the locked pixel. This value is in the same format as the pixel format.
If the method fails, it raises an error, and Err.Number is set.