Share via


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.

void UnlockBuffer( ); 

Requirements

  Windows CE versions: 1.0 and later
  Header file: Declared in Afx.h
  Platform: H/PC Pro, Palm-size PC, Pocket PC

See Also

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