Share via


ComPtr::GetAddressOf Method

Retrieves the address of the ptr_ data member, which contains a pointer to the interface represented by this ComPtr.

T* const* GetAddressOf() const;
T** GetAddressOf();

Return Value

The address of a variable.

Requirements

Header: client.h

Namespace: Microsoft::WRL

See Also

Reference

ComPtr Class