beautypg.com

Getendpointdirection, Getendpointno, Isdevicehub – Teledyne LeCroy Conquest API Manual - API Manual User Manual

Page 33: Getendpointdirection getendpointno

background image

IExerciser

27

GetEndPointDirection

Declaration:

long GetEndPointDirection(short sDeviceIndex,
short sEndPointIndex, short* sDirection)

Input(s):

sDeviceIndex specifies the index of found device.

sEndPointIndex specifies the index of endpoint of a found device.

sDirection specifies direction of specified endpoint. This parameter
fills if device index and endpoint index exist.

Return Value: Error code or zero (no error)

Remark:

This function fills sDirection if passed device index and endpoint
index exist.

See Also

API Errors

GetEndPointNo

Declaration:

long GetEndPointNo(short sDeviceIndex, short sEndPointIndex,
short* sEndpointNo)

Input(s):

sDeviceIndex specifies the index of found device.

sEndPointIndex specifies the index of endpoint of a found device.

sEndpointNo specifies the number of the specified endpoint. This
parameter fills if device index and endpoint index exist.

Return Value: Error code or zero (no error)

Remark:

This function fills sEndpointNo if passed device index and endpoint
index exist.

See Also:

API Errors

IsDeviceHub

Declaration:

long IsDeviceHub(short sDeviceIndex, BOOL* bIsHub)

Input(s):

sDeviceIndex specifies index of found device.

bIsHub specifies whether the device is a hub. This parameter fills if
device index exists.

Return Value: Error code or zero (no error)

Remark:

This function fills bIsHub if passed device index exists.

See Also:

API Errors