Jump to content

UsbClose

From EDM2
Revision as of 17:28, 12 February 2017 by W.m.brul (talk | contribs) (Related Functions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Releases access to a specific USB device.

Syntax

ulrc = UsbClose(Handle)

Parameters

Handle
the Device Handle received from the previous UsbOpen.

Return Code

0x0000 - NO_ERROR

Errors

0x1B58 - USB_NOT_INIT
0xFF13 - ERROR_I24_INVALID_PARAMETER

Remarks

Example Code

//Code Snippet - UsbClose
{
  ulrc = UsbClose(Handle);
  printf("\nUsbClose - ulrc: 0x%04X",ulrc);
}

Related Functions