CComPtr::CopyTo

HRESULT CopyTo( T** ppT );

Return value

A standard HRESULT value. Can be one of the following values:

Parameters

ppT

[in] Pointer to the target pointer.

Remarks

Copies the internal pointer to a target pointer. The pointer's reference count is incremented if successful. Returns an error if ppT is NULL.

CComPtr OverviewClass Members