MCHPHIDClass::HIDCloseReport Method

HID Class DLL

HID Class DLL
MCHPHIDClass::HIDCloseReport Method
C
static void HIDCloseReport();
Description

Closes the communication channel. The next attempt to read from or write to the device will re-establish communications

Preconditions

The DLL should be initialized via a call to HIDClassInit or variant.

Returns

True if the device is connected, False if not.

Example
if (MCHPHIDCLASS::HIDIsConnected ())
{
   MCHPHIDClass::HIDCloseReport ();
}
Microchip HID Class DLL 1.10 - [15 April 2010]
Copyright © 2009, 2010 Microchip Technology, Inc.  All rights reserved.