IWDTFDeviceDepot2::Query method

Returns a subset of the devices in the DeviceDepot.

Syntax


HRESULT Query(
  [in]           BSTR SDEL,
  [out, retval]  IWDTFTargets2 **ppTargets
);

Parameters

SDEL [in]

The SDEL query string.

ppTargets [out, retval]

The collection of devices.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The Query method provides the SDEL parameter in a call to the IWDTFTarget2::Eval method for every instance of the IWDTFTarget2 interface in the IWDTFTargets2 collection. Use the Simple Data Evaluation Language to specify this parameter. Every target that returns VARIANT_TRUE is added to a new instance of the IWDTFTargets2 collection interface.

Requirements

Minimum supported client

Windows XP Professional

Minimum supported server

Windows Server 2008

Namespace

Microsoft.WDTF

Assembly

WDTF.Interop.metadata_dll

Header

WDTF.h

IDL

WDTF.idl

See also

IWDTFDeviceDepot2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft