AudRecordLib
Public Member Functions
ExclusiveRtlResourceLock Struct Reference

#include <rtlresource.h>

List of all members.

Public Member Functions

 ExclusiveRtlResourceLock (RtlResource &r, BOOLEAN wait=TRUE)
 ~ExclusiveRtlResourceLock ()

Detailed Description

A RAII object that acquires an RtlResource for exclusive access


Constructor & Destructor Documentation

ExclusiveRtlResourceLock::ExclusiveRtlResourceLock ( RtlResource r,
BOOLEAN  wait = TRUE 
) [inline]

Initialises the lock member and acquires it for exclusive access

Parameters:
rThe lock to acquire and subsequently release
waitWhether to block for exclusive access if it cannot be granted immediately
ExclusiveRtlResourceLock::~ExclusiveRtlResourceLock ( ) [inline]

Releases the exclusive access lock


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Defines