beautypg.com

21 ioctl_soft_reset, 1 parameters, 2 notes – Lucent Technologies USS-720 User Manual

Page 88: 3 error code

background image

7-30

Lucent Technologies Inc.

USS-720

Preliminary User Guide, Rev. 2

USB Device Driver

February 1999

13

4 I/O Control Codes

(continued)

4.21 IOCTL_SOFT_RESET

IOCTL_SOFT_RESET resets the device, flushes the Bulk Out and Bulk In pipes to the default states. Details
regarding parameters and error codes follow.

4.21.1 Parameters

lpInBuffer—Points to an input buffer. Not used with this operation. Set to NULL.

nInBufferSize—Specifies the size (in bytes) of the buffer pointed to by lpInBuffer. Not used with this operation. Set
to zero.

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.21.2 Notes

None.

4.21.3 Error Code

STATUS_INSUFFICIENT_RESOURCES—Not enough memory to allocate a request to perform a soft reset on this
device instance.