ClearMask

Declaration: ClearMask(Mask: integer): integer;
Resets the pixel mask specified by the index Mask (valid range 1..32). All bits of the mask are set to zero.

The function returns the following error codes:

 0 ... everything OK
-1 ... the Mask parameter was invalide (valid range 1..32)


Last Update: 2017-Mai-26