[Previous] [Contents] [Index] [Next]

PdDestroyOffscreenLock()

Destroy a lock for an offscreen context

Synopsis:

int PdDestroyOffscreenLock(
       PdOffscreenContext_t *osc );

Library:

ph

Description:

This function removes an offscreen lock from the offscreen context, osc.


Note: If you've locked the context, call PdLockOffscreen() to unlock it before destroying the lock.

Returns:

EOK
The lock was successfully destroyed.
Pg_OSC_LOCK_INVALID
The lock didn't exist.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PdCreateOffscreenLock(), PdGetOffscreenContextPtr(), PdIsOffscreenLocked(), PdLockOffscreen(), PdUnlockOffscreen()

"Offscreen locks" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]