IWiaDataTransfer::idtQueryGetData method

The IWiaDataTransfer::idtQueryGetData method is used by applications to query a Windows Image Acquisition (WIA) device to determine what types of data formats it supports.

Syntax


HRESULT idtQueryGetData(
  [in, unique] WIA_FORMAT_INFO *pfe
);

Parameters

pfe [in]

Type: WIA_FORMAT_INFO*

Pointer to a WIA_FORMAT_INFO structure.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise it returns a value specified in Error Codes, or a standard COM error.

Remarks

This method queries a device to determine the data formats it supports. Prior to a data transfer, an application can fill in the WIA_FORMAT_INFO structure with the intended medium and data format information. It then calls IWiaDataTransfer::idtQueryGetData and receives a return value of S_OK if the data format and media type are supported by this device.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Wia.h

Library

Wiaguid.lib

DLL

Wiaservc.dll

 

 

Show: