IC Imaging Control C++

IVCDPropertyItems::findInterfacePtr Method

IVCDPropertyItems::findInterfacePtr Method

Searches the collection for a IVCDPropertyInterface with a given combination of item, element and interface id. In contrast to the findInterface method, this method has a templated output parameter, and the found and the type of this parameter is queried from the found interface.
Syntax:
// VC 6:
template<class TItf>
TItf findInterfacePtr( const GUID& itemID, const GUID& elementID, TItf& pRval )
// VC 7.1:
template<class TItf>
smart_com<TItf> findInterfacePtr( const GUID& itemID, const GUID& elementID, smart_com<TItf>& pRval )

Name Description
itemID

Item ID of the interface to be searched for. For a list of available GUIDs, see Standard Property Item GUIDs.

elementID

Element ID of the interface for which to search. For a list of available GUIDs, see Standard Element GUIDs.

pRval

Pointer to IVCDPropertyInterface-derived class. When the method succeeds, this parameter points to the found and queried interface, otherwise it is 0.

Return Value:

When the method succeeds, it returns the found and queried interface, otherwise 0.

See also: IVCDPropertyItems

<< IVCDPropertyItems

Get in touch with us


About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us