This type represents single handle reference to opened device object or software module object from GenTL subsystem. Object of this type is returned by device or software module opening functions and must be provided to other GenTL functions that access device or GenApi functions that change its state.

GenTLHandle is a value type and can be manipulated with standard value type operators including copy operator, however such operations do not change device reference count (only device open and close functions can change connection reference count).

Do not directly assign GenTLHandle object with constant values other that INVALID_GENTL_HANDLE, always use GenTL functions to obtain new device handles.