Microsoft Windows CE 3.0  

GetTransferError

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function returns an error value associated with a USB transfer.

BOOL
GetTransferError(
USB_TRANSFER
hTransfer
,
LPDWORD
lpdwError
);

Parameters

hTransfer
[IN] Handle to a USB transfer.
lpdwError
[OUT] Filled in with an error value.

Return Values

Returns FALSE if hTransferdoes not point to a valid USB_TRANSFERstructure. Otherwise, this function returns TRUE, and any error values associated with the transfer are stored in lpdwError.

Remarks

Transfer error values are declared in the Usbtypes.h header file. If the transfer has not been completed, lpdwErroris set to USB_NOT_COMPLETE_ERROR.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later      
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.