Call this member function to unlock the buffer that was previously secured by calling LockBuffer. UnlockBuffer resets the reference count to 1.
The CString destructor implies UnlockBuffer to ensure that you do not leave the buffer locked when the destructor is called.
void UnlockBuffer( );
Header File | Afx.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CString Overview, CString Member Functions, Simple Value Types, CString::LockBuffer, CString::GetBuffer, CString::ReleaseBuffer