This functionality can only be used with Vista/Windows 2008 or later. To use it in .NET, one can use the SlimResourceLock class from Jeffrey Richter’s Power Threading Library (http://www.wintellect.com/PowerThreading.aspx). Alternatively, take a look at the ReaderWriterLockSlim class from System.Threading.