Condividi tramite


Microsoft::WRL::Wrappers Namespace

 

The latest version of this topic can be found at Microsoft::WRL::Wrappers Namespace.

Defines Resource Acquisition Is Initialization (RAII) wrapper types that simplify the lifetime management of objects, strings, and handles.

Syntax

namespace Microsoft::WRL::Wrappers;  

Members

Typedefs

Name Description
FileHandle HandleT<HandleTraits::FileHandleTraits>

Classes

Name Description
CriticalSection Class Represents a critical section object.
Event Class (Windows Runtime C++ Template Library) Represents an event.
HandleT Class Represents a handle to an object.
HString Class Provides support for manipulating HSTRING handles.
HStringReference Class Represents an HSTRING that is created from an existing string.
Mutex Class Represents a synchronization object that exclusively controls a shared resource.
RoInitializeWrapper Class Initializes the Windows Runtime.
Semaphore Class Represents a synchronization object that controls a shared resource that can support a limited number of users.
SRWLock Class Represents a slim reader/writer lock.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

Microsoft::WRL Namespace