A file handle returned by the Microchip functions is invalid if it matches this value.

C# | Visual Basic | Managed C++ |
public const uint INVALID_HANDLE_VALUE
Public Const INVALID_HANDLE_VALUE As UInteger
public: literal unsigned int INVALID_HANDLE_VALUE
Assembly: PICUSB Version: 1.0.2970.38156 (Module: PICUSB)