WRL Reference


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at WRL Reference.

This section contains reference information for the Windows Runtime C++ Template Library (WRL).

System_CAPS_ICON_note.jpg Note

The WRL defines functionality that supports the WRL infrastructure and is not intended to be used directly from your code. Such functionality is noted in this documentation.

Microsoft::WRL Namespace
Defines the fundamental types that make up the WRL.

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

Microsoft::WRL::Wrappers::HandleTraits Namespace
Describes characteristics of common handle-based resource types.

Windows::Foundation Namespace
Enables fundamental Windows Runtime functionality, such as object and factory creation.

Windows Runtime C++ Template Library (WRL)
Introduces WRL, a COM-based template library that provides a low-level way to author and use Windows Runtime components.