Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
);
Parameters
- r
A ComPtr.
Requirements
Header: client.h
Namespace: Microsoft::WRL