IBlockingLock interface (objidl.h)

Provides a semaphore that can be used to provide temporarily exclusive access to a shared resource such as a file.

Inheritance

The IBlockingLock interface inherits from the IUnknown interface. IBlockingLock also has these types of members:

Methods

The IBlockingLock interface has these methods.

 
IBlockingLock::Lock

Requests a lock on a shared resource.
IBlockingLock::Unlock

Releases a lock on a shared resource.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h