Automation:
HRESULT
OnIsochTransfer
(
[in]
DateTime
time,
[in]
uint
nTransferFlags,
[in]
uint
StartFrame,
[in]
uint
NumberOfPackets,
[in]
uint
ErrorCount)
;
Parameters
time
The time of the event.
nTransferFlags
Specifies zero, one, or a combination of the following flags:USBD_TRANSFER_DIRECTION_IN\USBD_SHORT_TRANSFER_OK\USBD_START_ISO_TRANSFER_ASAP.
StartFrame
Specifies the frame number the transfer should begin on. This variable must be within a system-defined range of the current frame. The range is specified by the constant USBD_ISO_START_FRAME_RANGE.
If START_ISO_TRANSFER_ASAP is set in TransferFlags, this member contains the frame number that the transfer began on, when the request is returned by the host controller driver. Otherwise, this member must contain the frame number that this transfer will begin on.
NumberOfPackets
Specifies the number of packets described by the variable-length array member IsoPacket.
ErrorCount
Contains the number of packets that completed with an error condition on return from the host controller driver.
Return Value
S_OK or standard OLE error code.