USBDev_IntrIn_Open

Description

Open a Interrupt IN pipe.

Files

usbdev_api.c

Prototype

HANDLE  USBDev_IntrIn_Open (HANDLE   dev,
                            UCHAR    if_nbr,
                            UCHAR    alt_set,
                            DWORD   *p_err);


Arguments

dev

General handle to device.

if_nbr

Interface number.

alt_set

Alternate setting number for specified interface.

p_err

Pointer to variable that will receive the return error code from this function:

ERROR_SUCCESS
ERROR_INVALID_HANDLE
ERROR_NO_MORE_ITEMS

Returned Value

Handle to Interrupt IN pipe, if NO error(s).

INVALID_HANDLE_VALUE, otherwise.

Callers

Application.

Notes / Warnings

None.