16 ioctl_issue_uss720_command, 1 parameters, 2 notes – Lucent Technologies USS-720 User Manual
Page 83: 3 error codes, 4 i/o control codes

Preliminary User Guide, Rev. 2
USS-720
February 1999
USB Device Driver
Lucent Technologies Inc.
7-25
13
4 I/O Control Codes
(continued)
4.16 IOCTL_ISSUE_USS720_COMMAND
IOCTL_ISSUE_USS720_COMMAND issues a specific command for the USS-720 device. Details regarding
parameters and error codes follow.
4.16.1 Parameters
lpInBuffer—Points to an buffer that contains a single byte which specifies one of the following USS-720 commands:
nInBufferSize—Specifies the size (in bytes) of the buffer pointed to by lpInBuffer. For this operation, this value
should be 1.
lpOutBuffer—Points to an output buffer. Not used with this operation. Set to NULL.
nOutBufferSize—Specifies the size (in bytes) of the buffer pointed to by lpOutBuffer. Not used with this operation.
Set to zero.
lpBytesReturned—Points to a DWORD that receives the actual size (in bytes) of the data stored into lpOutBuffer.
Not used with this operation.
4.16.2 Notes
Returns TRUE if successful; FALSE otherwise.
4.16.3 Error Codes
ERROR_INVALID_ALTERNATESETTING—This command is only supported in ALT_INTERFACE_2 (see
Section 4.9 of this document).
STATUS_INSUFFICIENT_RESOURCES—Not enough memory to perform the request on this device instance.
Command
Description
CMD_AUTOECP_ON
Turn Auto Mode on.
CMD_AUTOECP_OFF
Turn Auto Mode off.
CMD_COMPRESS_ON
Turn ECP RLE compression on.
CMD_COMPRESS_OFF
Turn ECP RLE compression off.