ComPtrRef::ComPtrRef Constructor
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 ComPtrRef::ComPtrRef Constructor.
Supports the WRL infrastructure and is not intended to be used directly from your code.
Syntax
ComPtrRef(
_In_opt_ T* ptr
);
Parameters
ptr
The underlying value of another ComPtrRef object.
Remarks
Initializes a new instance of the ComPtrRef class from the specified pointer to another ComPtrRef object.
Requirements
Header: client.h
Namespace: Microsoft::WRL::Details