The remote terminal uses this structure to send vendor information to the host application. In this situation, the structure is used with inbound H324EVN_VENDOR_INDICATION events.
The host application uses this structure to send vendor information to the remote terminal. In this case, the data structure is used with h324VendorIDIndication.
In the H324_VENDORID_INDICATION structure, the vendorID field is mandatory but the productNumber and versionNumber fields are optional, making this a variable-length structure.
typedef struct tag_H324_VENDORID_INDICATION
{
unsigned short vendorIDLen;
unsigned short productNumberLen;
unsigned short versionNumberLen;
unsigned char isNonStandard;
unsigned char bytes[sizeof(char)];
// "vendorID" field resides at bytes[0] through bytes[vendorIDLen-1].
// OPTIONAL "productNumber" resides at bytes[vendorIDLen]
// through bytes[vendorIDLen+productNumberLen-1].
// OPTIONAL "versionNumber" resides at bytes[vendorIDLen+productNumberLen]
// through bytes[vendorIDLen+productNumberLen+versionNumberLen-1].
} H324_VENDORID_INDICATION;
|
Field name |
Description |
|---|---|
|
vendorIDLen |
Length in bytes of the vendorID field. |
|
productNumberLen |
Length in bytes of the productNumber field. |
|
versionNumberLen |
Length in bytes of the versionNumber field. |
|
isNonStandard |
Specifies the type of vendor ID. Valid values are:
|
|
vendorID |
Vendor ID for the terminal or component. The value of this field depends on the value of the isNonStandard field.
|
|
productNumber |
Product number for the terminal or component. This field is present only if productNumberLen is not set to 0. |
|
versionNumber |
Version number for the terminal or component. This field is present only if versionNumberLen is not set to 0. |