IVCDPropertyElement::getInterfacePtr Method

Retrieves a pointer to an interface of this element. The type of desired interface is determined by the parameter.
Syntax:
// VC 6:
template<class TItf>
TItf getInterfacePtr( TItf& pItf )
// VC 7.1:
template<class TItf>
smart_com<TItf> getInterfacePtr( smart_com<TItf>& pRval )

Parameter Description
pItf

Pointer to a VCDPropertyInterface-derived type. You must use a tIVCD%%%PropertyPtr here. If the method is successful, the pointer will point to the found interface.

pRval

Pointer to a VCDPropertyInterface-derived type. If the method is successful, the pointer will point to the found interface.

Return value:

This method returns its parameter.

See also: IVCDPropertyElement, IVCDPropertyInterface

<< IVCDPropertyElement