WiaTransferParams structure
The WiaTransferParams is transmitted to an application during a data transfer by the Windows Image Acquisition (WIA) run-time system to the IWiaTransferCallback::TransferCallback method.
Syntax
typedef struct _WiaTransferParams {
LONG lMessage;
LONG lPercentComplete;
ULONG64 ulTransferredBytes;
HRESULT hrErrorStatus;
} WiaTransferParams;
Members
-
lMessage
-
Type: LONG
-
Indicates the status of the data transfer.
-
WIA_TRANSFER_MSG_STATUS
-
WIA_TRANSFER_MSG_END_OF_STREAM
-
WIA_TRANSFER_MSG_END_OF_TRANSFER
-
WIA_TRANSFER_MSG_DEVICE_STATUS
-
WIA_TRANSFER_MSG_NEW_PAGE
lPercentComplete
Type: LONG
Indicates the progress of the data transfer as a percentage.
ulTransferredBytes
Type: ULONG64
Indicates the amount of data transferred.
hrErrorStatus
Type: HRESULT
The status, or error state, of the device set by the driver; for example, "warming up".
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|