Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Description

Close a device by freeing any allocated resources and by releasing any created handles.

Files

usbdev_api.c

Prototype

Arguments

dev

General handle to device.

p_err

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

ERROR_SUCCESS
ERROR_INVALID_HANDLE

Returned Value

None.

Callers

Application.

Notes / Warnings

USBDev_Close() closes any remaining open pipes. The open pipes are usually closed from the application by calling the function USBDev_PipeClose.

  • No labels