IVsRunningDocTableEvents3::OnAfterFirstDocumentLock Method (UInt32, UInt32, UInt32, UInt32)
Visual Studio 2015
Called after application of the first lock of the specified type to a document in the Running Document Table (RDT).
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int OnAfterFirstDocumentLock( unsigned int docCookie, unsigned int dwRDTLockType, unsigned int dwReadLocksRemaining, unsigned int dwEditLocksRemaining )
Parameters
- docCookie
-
Type:
System::UInt32
[in] Abstract value representing the document whose attributes have been changed.
- dwRDTLockType
-
Type:
System::UInt32
[in] The document lock type. Values are taken from the _VSRDTFLAGS enumeration.
- dwReadLocksRemaining
-
Type:
System::UInt32
[in] Specifies the number of remaining read locks.
- dwEditLocksRemaining
-
Type:
System::UInt32
[in] Specifies the number of remaining edit locks.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsRunningDocTableEvents3::OnAfterFirstDocumentLock( [in] VSCOOKIE docCookie, [in] VSRDTFLAGS dwRDTLockType, [in] DWORD dwReadLocksRemaining, [in] DWORD dwEditLocksRemaining );
Show: