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::Details Namespace


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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

namespace Microsoft::WRL::Details;  


ComPtrRef ClassRepresents a reference to an object of type ComPtr<T>.
ComPtrRefBase ClassRepresents the base class for the ComPtrRef class.
DontUseNewUseMake ClassPrevents using operator new in RuntimeClass. Consequently, you must use the Make function instead.
EventTargetArray ClassRepresents an array of event handlers.
MakeAllocator ClassAllocates memory for an activatable class, with or without weak reference support.
ModuleBase ClassRepresents the base class of the Module classes.
RemoveIUnknown ClassMakes a type that is equivalent to an IUnknown-based type, but has non-virtual QueryInterface, AddRef, and Release methods.
WeakReference ClassRepresents 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.


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


AsyncStatusInternal EnumerationSpecifies a mapping between internal enumerations for the state of asynchronous operations and the Windows::Foundation::AsyncStatus enumeration.


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

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

Namespace: Microsoft::WRL::Details

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

© 2017 Microsoft