CStringData::Unlock
Unlocks the character buffer of the associated string object.
void Unlock( ) throw( );
Remarks
Call this function to unlock the character buffer of the string data object. Once a buffer is unlocked, it is shareable and can be reference counted.
Nota
Each call to Lock must be matched by a corresponding call to Unlock.
Locking and unlocking is used when the developer must ensure that the string data not be shared. A good example of locking is demonstrated by the LockBuffer and UnlockBuffer methods of CSimpleStringT.
Requirements
Header: atlsimpstr.h