IVsTextStream.LockBufferEx(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension of the LockBuffer() method.
public:
int LockBufferEx(System::UInt32 dwFlags);
public:
int LockBufferEx(unsigned int dwFlags);
int LockBufferEx(unsigned int dwFlags);
public int LockBufferEx (uint dwFlags);
abstract member LockBufferEx : uint32 -> int
Public Function LockBufferEx (dwFlags As UInteger) As Integer
Parameters
- dwFlags
- UInt32
[in]Combine with a bitwise or of BufferLockFlags, presently either BLF_READ or BLF_WRITE.)
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextStream::LockBufferEx(
[in] DWORD dwFlags
);
When the LockBufferEx
method is called by one thread, no other thread can perform write operations on the buffer. To unlock the buffer, call UnlockBufferEx.