Back to main

 

Function 36 - read screen area

 

Options:

  * eax = 36 - function number

  * ebx = pointer to a preallocated memory area where the image in BBGGRRBBGGRR format will be placed ...

  * ecx = [x-axis size] * 65536 + [y-axis size]

  * edx = [x-coordinate] * 65536 + [y-coordinate]

Return value:

  * function does not return value

 

Remarks:

  The coordinates of the area are the coordinates of the upper left corner of the area relative to the screen.

  Image size in bytes is 3 * xsize * ysize.

 

Constants for registers:

  eax - SF_GET_IMAGE (36)