|
![]() |
![]() |
version 2003
PA_UnlockHandle (handle)
Parameter | Type | Description | |
handle | PA_Handle | → | Handle 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
Error Handling
Use
PA_GetLastError
to see if an error occurred.