Export (0) Print
Expand All

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:
© 2014 Microsoft