IOpLockStatus::GetOplockEventHandle Method
Gets the event handle of the opportunistic lock (OpLock). The event object is set to the signaled state when the OpLock is broken, enabling the indexer to stop all operations on the underlying IUrlAccessor object.
Syntax
HRESULT GetOplockEventHandle( HANDLE *phOplockEv );
Parameters
- phOplockEv
[out] Receives a pointer to the handle of the event associated with the OpLock, or NULL if no OpLock was taken.
Return Value
Returns S_OK if successful, or an error value otherwise.