IVsTextImage::UnlockImage Method (UInt32)

 

Notifies that the text image is not in use.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int UnlockImage(
	unsigned int grfLock
)

Parameters

grfLock
Type: System::UInt32

[in] Specifies a locking flag. Values are taken from the BufferLockFlags enumeration.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

The environment can request a lock on a text image with a call to LockImage.

From textmgr.idl:

HRESULT IVsTextImage::UnlockImage(
   [in] DWORD grfLock
);
Return to top
Show: