The following is a sample section of a Windows® 95 INF file which would create the required registry keys during the driver's installation. Note in particular the DeviceCaps and LineCaps entries which are the binary versions of the corresponding structures ISDNDEVCAPS and ISDNLINECAPS, described in the following.
;****************************************************************************
; TAPI ISDN Configuration
;****************************************************************************
HKR,,NumberOfLines,,1
HKR,TAPI,Properties,1,00,00,00,00
HKR,TAPI,DeviceCaps,1,14,00,00,00, 00,00,00,00, 00,00,00,00, 01,00,00,00, 01,00,00,00
HKR,TAPI\Line0,Properties,1,00,00,00,00
HKR,TAPI\Line0,SwitchType,1,00,00,00,00
HKR,TAPI\Line0,LineCaps,1,1c,00,00,00, 00,00,00,00, 03,00,00,00, ff,00,00,00, 03,00,00,00, 02,00,00,00, 02,00,00,00
HKR,TAPI\Line0\Channel0,Properties,1,00,00,00,00
HKR,TAPI\Line0\Channel0,ChannelCaps,1,00,00,00,00
HKR,TAPI\Line0\Channel0,SPID,,""
HKR,TAPI\Line0\Channel0,Phone,,""
HKR,TAPI\Line0\Channel1,Properties,1,00,00,00,00
HKR,TAPI\Line0\Channel1,ChannelCaps,1,00,00,00,00
HKR,TAPI\Line0\Channel1,SPID,,""
HKR,TAPI\Line0\Channel1,Phone,,""