| Home | How To | Online Documentation | Support | Download | Order |
|
|
SAChar *LockBuffer( ); Return valueA pointer to a SAString object or null-terminated string. RemarksCall this member function to lock a string in the buffer. By calling LockBuffer, you create a copy of the string, and then set the reference count to -1. When the reference count is set to -1, the string in the buffer is considered to be in a "locked" state. While in a locked state, the string is protected in two ways:
By locking the string in the buffer, you ensure that the string’s exclusive hold on the buffer will remain intact. After you have finished with LockBuffer, call UnlockBuffer to reset the reference count to 1. Server specific notesNo specific information. See alsoProblems and QuestionsIf you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com. |
|||||||||||||||||||