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);