Export (0) Print
Expand All

ComPtr::Swap Method

Exchanges the interface managed by the current ComPtr with the interface managed by the specified ComPtr.

void Swap(
   _Inout_ ComPtr&& r
);

void Swap(
   _Inout_ ComPtr& r
);

r

A ComPtr.

Header: client.h

Namespace: Microsoft::WRL

Show:
© 2015 Microsoft