The ISDN device capabilities are enumerated in the ISDNDEVCAPS structure. These capabilities are assumed to apply to the device in general. The capabilities are not line specific.
typedef struct tagISDNDEVCAPS {
DWORD cbSize; /* size of the ISDNDEVCAPS structure */
DWORD dwFlags; /* flags for the device (ISDN_*) */
DWORD nSubType; /* device subtype (ISDN_SUBTYPE_*) */
DWORD cLinesMax; /* number of physical lines supported */
DWORD cActiveLines; /* number of active physical lines */
} ISDNDEVCAPS, FAR * LPISDNDEVCAPS;
The field descriptions follow:
cbSize | The size of the entire ISDNDEVCAPS structure. |
dwFlags | Device capability options. This is a bit field, where the possible flags are:
|
nSubType | The device subtype. This is a bit field, where the possible flags are:
|
cLinesMax | Refers to the number of physical lines the device supports. An ISDN device must have at least one physical line. This field must match the number of LineX keys that are in the driver registry key. |
cActiveLines | Refers to the number of physical lines that are active on the device, for example, the number of physical lines attached to the adapter.
This value is derived from the number of LineX keys that have the ISDN_LINE_INACTIVE bit set in their Properties value. This value is determined at run time and should be set to zero in the INF. |