Information
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.

ComPtr::Attach Method

Associates this ComPtr with the interface type specified by the current template type parameter.

void Attach(
   _In_opt_ InterfaceType* other
);

other

An interface type.

Header: client.h

Namespace: Microsoft::WRL

Show:
© 2014 Microsoft