PA_UnlockHandle

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_UnlockHandle (handle)

ParameterTypeDescription
handlePA_HandleHandle to unlock

Description

The routine PA_UnlockHandle unlocks the block of memory referenced by handle, previously locked with PA_Lockhandle.

To prevent memory fragmentation, it is a good habit to lock handles only when appropriate.

NOTE

This lock is not an incremental lock. If you call PA_UnlockHandle 10 times on the same handle, one simple call to PA_UnlockHandle unlocks the handle.

Example

See PA_Lockhandle for an example of use.

See Also

PA_LockHandle.

Error Handling

Use PA_GetLastError to see if an error occurred.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next