次の方法で共有


_com_ptr_t::GetInterfacePtr

Microsoft Specific

Returns the encapsulated interface pointer.

Interface* GetInterfacePtr( ) const throw( ); 
Interface*& GetInterfacePtr() throw();

Remarks

Returns the encapsulated interface pointer, which may be NULL.

END Microsoft Specific

See Also

Reference

_com_ptr_t Class