IVsRunningDocTableEvents3.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Appelé après l'application du premier verrou du type spécifié à un document dans la table de document en cours d'exécution (RDT).
public:
int OnAfterFirstDocumentLock(System::UInt32 docCookie, System::UInt32 dwRDTLockType, System::UInt32 dwReadLocksRemaining, System::UInt32 dwEditLocksRemaining);
public:
int OnAfterFirstDocumentLock(unsigned int docCookie, unsigned int dwRDTLockType, unsigned int dwReadLocksRemaining, unsigned int dwEditLocksRemaining);
int OnAfterFirstDocumentLock(unsigned int docCookie, unsigned int dwRDTLockType, unsigned int dwReadLocksRemaining, unsigned int dwEditLocksRemaining);
public int OnAfterFirstDocumentLock (uint docCookie, uint dwRDTLockType, uint dwReadLocksRemaining, uint dwEditLocksRemaining);
abstract member OnAfterFirstDocumentLock : uint32 * uint32 * uint32 * uint32 -> int
Public Function OnAfterFirstDocumentLock (docCookie As UInteger, dwRDTLockType As UInteger, dwReadLocksRemaining As UInteger, dwEditLocksRemaining As UInteger) As Integer
Paramètres
- docCookie
- UInt32
[in] Valeur abstraite qui représente le document dont les attributs ont été modifiés.
- dwRDTLockType
- UInt32
[in] Type de verrou du document. Les valeurs proviennent de l'énumération _VSRDTFLAGS.
- dwReadLocksRemaining
- UInt32
[in] Spécifie le nombre de verrous de lecture restants.
- dwEditLocksRemaining
- UInt32
[in] Spécifie le nombre de verrous de modification restants.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Implémente
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IVsRunningDocTableEvents3::OnAfterFirstDocumentLock(
[in] VSCOOKIE docCookie,
[in] VSRDTFLAGS dwRDTLockType,
[in] DWORD dwReadLocksRemaining,
[in] DWORD dwEditLocksRemaining
);