Share via


Microsoft::WRL::Details Namespace

 

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 Microsoft::WRL::Details Namespace.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

namespace Microsoft::WRL::Details;  

Members

Classes

Name Description
ComPtrRef Class Represents a reference to an object of type ComPtr<T>.
ComPtrRefBase Class Represents the base class for the ComPtrRef class.
DontUseNewUseMake Class Prevents using operator new in RuntimeClass. Consequently, you must use the Make function instead.
EventTargetArray Class Represents an array of event handlers.
MakeAllocator Class Allocates memory for an activatable class, with or without weak reference support.
ModuleBase Class Represents the base class of the Module classes.
RemoveIUnknown Class Makes a type that is equivalent to an IUnknown-based type, but has non-virtual QueryInterface, AddRef, and Release methods.
WeakReference Class Represents a weak reference that can be used with the Windows Runtime or classic COM. A weak reference represents an object that might or might not be accessible.

Structures

Name Description
ArgTraits Structure Declares a specified delegate interface and an anonymous member function that has a specified number of parameters.
ArgTraitsHelper Structure Helps define common characteristics of delegate arguments.
BoolStruct Structure Defines whether a ComPtr is managing the object lifetime of an interface. BoolStruct is used internally by the BoolType() operator.
CreatorMap Structure Contains information about how to initialize, register, and unregister objects.
DerefHelper Structure Represent a dereferenced pointer to the T* template parameter.
EnableIf Structure Defines a data member of the type specified by the second template parameter if the first template parameter evaluates to true.
FactoryCache Structure Contains the location of a class factory and a value that identifies a registered Windows Runtime or COM class object.
ImplementsBase Structure Used to validate template parameter types in Implements Structure.
ImplementsHelper Structure Helps implement the Implements structure.
InterfaceList Structure Used to create a recursive list of interfaces.
InterfaceListHelper Structure Builds an InterfaceList type by recursively applying the specified template parameter arguments.
InterfaceTraits Structure Implements common characteristics of an interface.
InvokeHelper Structure Provides an implementation of the Invoke() method based on the specified number and type of arguments.
IsBaseOfStrict Structure Tests whether one type is the base of another.
IsSame Structure Tests whether one specified type is the same as another specified type.
Nil Structure Used to indicate an unspecified, optional template parameter.
RemoveReference Structure Strips the reference or rvalue-reference trait from the specified class template parameter.
RuntimeClassBase Structure Used to detect RuntimeClass in the Make function.
RuntimeClassBaseT Structure Provides helper methods for QueryInterface operations and getting interface IDs.
VerifyInheritanceHelper Structure Tests whether one interface is derived from another interface.
VerifyInterfaceHelper Structure Verifies that the interface specified by the template parameter meets certain requirements.

Enumerations

Name Description
AsyncStatusInternal Enumeration Specifies a mapping between internal enumerations for the state of asynchronous operations and the Windows::Foundation::AsyncStatus enumeration.

Functions

Name Description
ActivationFactoryCallback Function Gets the activation factory for the specified activation ID.
Move Function Moves the specified argument from one location to another.
RaiseException Function Raises an exception in the calling thread.
Swap Function (Windows Runtime C++ Template Library) Exchanges the values of the two specified arguments.
TerminateMap Function Shuts down the class factories in the specified module.

Requirements

Header: async.h, client.h, corewrappers.h, event.h, ftm.h, implements.h, internal.h, module.h

Namespace: Microsoft::WRL::Details

See Also

Microsoft::WRL Namespace
Microsoft::WRL::Wrappers Namespace