Back to main

 

Function 1 - put a dot in the window

 

Characteristic:

  * eax = 1 - the number of function

  * ebx = x-coordinate (relative to the window)

  * ecx = y-coordinate (relative to the window)

  * edx = 0x00RRGGBB - color of a point

  * edx = 0x01xxxxxx - to invert the color of the point (the lower 24 bits are ignored)

Returned value:

  * function does not return a value

 

Constants for registers:

  eax - SF_PUT_PIXEL (1)