e returned colour value is in the form of an integer than  contains the alpha, red, green and blue values of the pixel. 

<br />

<br />
IMPORTANT: 

<br />

<br />
You *must* use this command on a locked buffer, otherwise the command will  fail. See LockBuffer. 

<br />

<br />
Also, you must make sure that the coordinates that you are reading from are  valid, otherwise you will end up reading garbage values. 

<br />

<br />
WARNING: 

<br />

<br />
By not following the above advice, you may cause your c