Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Microsoft::WRL::Wrappers Namespace


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

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.

namespace Microsoft::WRL::Wrappers;  




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

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

Microsoft::WRL Namespace

© 2017 Microsoft