Compartilhar via


ComPtrRef::ComPtrRef Constructor

Supports the WRL infrastructure and is not intended to be used directly from your code.

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

See Also

Reference

ComPtrRef Class

Microsoft::WRL::Details Namespace