ComPtr::operator-> Operator
Visual Studio 2015
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 ComPtr::operator-> Operator.
Retrieves a pointer to the type specified by the current template parameter.
WRL_NOTHROW Microsoft::WRL::Details::RemoveIUnknown<InterfaceType>* operator->() const;
Pointer to the type specified by the current template type name.
This helper function removes unnecessary overhead caused by using the STDMETHOD macro. This function makes IUnknown types private instead of virtual.
Header: client.h
Namespace: Microsoft::WRL
Show: