Grabber::getVCDPropertyInterface Method

Retrieves the specified IVCDPropertyInterface.
Syntax:
tIVCDPropertyInterfacePtr   getVCDPropertyInterface( const GUID& item_id, const GUID& elem_id, const GUID& itf_id );

template<TItf>
smart_com<TItf>       getVCDPropertyInterface<TItf>( const GUID& item_id, const GUID& elem_id )

Parameter Description
item_id

The item id as specified in Standard Property Item GUIDs.

elem_id

The element id as specified in Standard Property Element GUIDs.

itf_id

The interface id as specified in Standard Property Interface GUIDs.

TItf

The interface type to query for e.g. IVCDRangeProperty or IVCDMapStringsProperty.

Return value:

!= NULL, if the device supports this property interface, NULL otherwise.

Remarks:

This function is a shortcut for retrieving getAvailableVCDProperties, then querying the return value for the actual item, then querying for the actual element and then querying for the actual interface.

Information:

Introduced in version 3.5

See also: Grabber, Grabber::getAvailableVCDProperties, tIVCDPropertyInterfacePtr, Standard Property Item GUIDs, Standard Element GUIDs, Standard Interface GUIDs, smart_com

<< Grabber