MCHPHIDClass::HIDClassInit Method (unsigned int, unsigned int, unsigned int)

HID Class DLL

HID Class DLL
MCHPHIDClass::HIDClassInit Method (unsigned int, unsigned int, unsigned int)
C
static void HIDClassInit(
    unsigned int VendorID, 
    unsigned int ProductID, 
    unsigned int BuffSize
);
Description

Initializes the DLL with the VID, PID, and Buffersize of the device. This function should be called before attempting to communicate with the device.

Preconditions

None

Parameters
Parameters 
Description 
VendorID 
16 bit unsigned integer. 
ProductID 
16 bit unsigned integer 
BufferSize 
16 bit unsigned integer. Usually 64 
Returns

Nothing

Remarks

This function, or an overloaded variant, should be called proir to attempting to communicate with the device.

Example
MCHPHIDCLASS::HIDClassInit(0x4D8, 0x0F00, 64);
Microchip HID Class DLL 1.10 - [15 April 2010]
Copyright © 2009, 2010 Microchip Technology, Inc.  All rights reserved.