IWiaDataTransfer::idtQueryGetData method (wia_xp.h)
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] WIA_FORMAT_INFO *pfe
);
Parameters
[in] pfe
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wia_xp.h (include Wia.h) |
Library | Wiaguid.lib |
DLL | Wiaservc.dll |