IVsTextImage.UnlockImage(UInt32) Method

Definition

Notifies that the text image is not in use.

C++/CX
public:
 int UnlockImage(unsigned int grfLock);

Parameters

grfLock
UInt32

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

Returns

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

Remarks

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

COM Signature

From textmgr.idl:

cpp#
HRESULT IVsTextImage::UnlockImage(  
   [in] DWORD grfLock  
);  

Applies to

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022