Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Supports the WRL infrastructure and is not intended to be used directly from your code.
template <
typename SyncTraits
>
class SyncLockT;
Parameters
- SyncTraits
The type that can take ownership of a resource.
Remarks
Represents a type that can take exclusive or shared ownership of a resource.
The SyncLockT class is used, for example, to help implement the SRWLock class.
Members
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the SyncLockT class. |
|
Deinitializes an instance of the SyncLockT class. |
Protected Constructors
Name |
Description |
---|---|
Initializes a new instance of the SyncLockT class. |
Public Methods
Name |
Description |
---|---|
Indicates whether the current SyncLockT object owns a resource; that is, the SyncLockT object is locked. |
|
Releases control of the resource held by the current SyncLockT object, if any. |
Protected Data Members
Name |
Description |
---|---|
Holds the underlying resource represented by the SyncLockT class. |
Inheritance Hierarchy
SyncLockT
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::Details