UnlockString - Retrieve and release a string locked to memory with LockString |
Top Previous Next |
Syntax
<cString> := UnlockString( <nAddress> )
Parameters
<nAddress>
Address of allocated memory block that was returned by LockString or LockNullString.
Return value
String found at <nAddress>.
Description
UnlockString returns the data found in memory at address <nAddress> as a string. After reading it, the allocated memory block is released and <nAddress> becomes invalid. Use UnlockString only with memory addresses that were returned by LockString or LockNullString.
If the locked string is of type STRINGTYPE_TEXT, STRINGTYPE_UNICODETEXT or STRINGTYPE_BINARY0, only the characters up to and not including the string terminator are read.
Classification
Core
Category
Quick Info
Library: cckptcor.lib / cckptcor.dll
See also
LockString, LockNullString, ReadLockString, ReleaseLockString
Example
|