SetDataLength
Changes the number of bytes of data in the packet to the specified value.
Declaration
virtual kern_return_t SetDataLength(uint32_t length);Parameters
- length:
The new data length value, specified in bytes.
Return Value
kIOReturnSuccess on success, or another value if an error occurred.