Share via


ComPtrRef::ReleaseAndGetAddressOf Method

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

InterfaceType** ReleaseAndGetAddressOf();

Return Value

Pointer to the interface that was represented by the deleted ComPtrRef object.

Remarks

Deletes the current ComPtrRef object and returns a pointer-to-a-pointer to the interface that was represented by the ComPtrRef object.

Requirements

Header: client.h

Namespace: Microsoft::WRL::Details

See Also

Reference

ComPtrRef Class

Microsoft::WRL::Details Namespace