CString::UnlockBuffer

This method unlocks 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.

At a Glance

Header file: Afx.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void UnlockBuffer( );

See Also

CString::LockBuffer, CString::GetBuffer, CString::ReleaseBuffer