[Overview][Constants][Types][Classes][Index] |
Locks the surface and returns a pointer to the locked surface pixel memory.
Source position: basesurfaced.inc line 44
function IPTCSurface.Lock: Pointer; |
A pointer to the surface pixel memory.
Locks the surface and returns a pointer to the locked surface pixel memory. Every successful lock must be followed by a call to IPTCSurface.Unlock. Call unlock once you are finished with the surface memory. Only one lock per surface object is permitted at any one time. If the surface is already locked a TPTCError exception will be raised.
TPTCError - a TPTCError exception is raised on failure.