GetIsochResults

This function gets the status of an active isochronous transfer.

Syntax

BOOL GetIsochResults( USB_TRANSFER hTransfer, DWORD cFrames, LPDWORD lpdwBytesTransferred, LPDWORD lpdwErrors );

Parameters

hTransfer
[IN] Handle to an isochronous transfer.
cFrames
[IN] Specifies the number of frames to return results for.
lpdwBytesTransferred
[OUT] Pointer to an array of lengths. This pointer may be NULL, in which case this function does not report bytes-transferred information.
lpdwErrors
[OUT] Pointer to an array of error values. This pointer may be NULL, in which case this function does not report error value information.

Return Values

Returns TRUE if hTransfer points to a completed isochronous transfer, FALSE otherwise.

Remarks

The supplied arrays are filled out with the error values and amounts of data transferred for each frame. There may have been data transferred on a frame, even if an error is returned.

This function is defined in the Mousedrv.cpp file.