PCMCIA Multifunction Card Example

The following example shows the main INF file for a multifunction modem\network PCMCIA card. The child INFs are not shown since they are not different than standard single function device INFs.

INF File


[Version]
LayoutFile=layout.inf
Signature="$WINDOWS 95$"
Provider=%MS%
Class=MultiFunction

;
; Table of Contents
;
[Manufacturer]
%CARDWIZ%=CARDWIZ

[CARDWIZ]
%CARDWIZ10BT%=CARDWIZ10BT.mf,PCMCIA\CARDWIZ-CREDITCARD_ETHERNET+MODEM_10BASE-T-XXXX2 

[CARDWIZ10BT.mf]
AddReg=StandardMF.Reg,ADDREG_CARDWIZ.reg

[CARDWIZ10BT.mf.HW]
AddReg=CARDWIZ10BT.mf.RegHW

[CARDWIZ10BT.mf.RegHW]
HKR,Child0000,HardwareID,,MF\CARDWIZCEM_DEV0
HKR,Child0000,ResourceMap,1,00,01,02,04
HKR,Child0001,HardwareID,,MF\CARDWIZCEM_DEV1
HKR,Child0001,ResourceMap,1,01,02,03,04

[StandardMF.Reg]
HKR,,DevLoader,,*CONFIGMG
HKR,,Enumerator,,*CONFIGMG
HKR,,CMDrivFlags,01,03,00,00,00     ; Sets flags as described
                                    ; in CM_Register_DeviceDriver call
                                    ; Mark device as 
                                    ;    Can be removed
                                    ;    Can be configured

[ADDREG_CARDWIZ.reg]
HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; I/O Resource Descriptor 0
;
<<resource information here>>
;
; I/O Resource Descriptor 1
;
<<resource information here>>
;
; IRQ Resource Descriptor
;
<<resource information here>>
;
; MEM Resource Descriptor 0
;
<<resource information here>>
;
; MEM Resource Descriptor 1
;
<<resource information here>>
;
; REQUEST_CONFIG_PKT Descriptor
;
<<refer to the DDK for information about this section>>
;
; TERMINATOR
;
00,00,00,00

;
; Translatable strings
;
[Strings]
MS="Microsoft"
;
; Manufacturer names
;
CARDWIZ="Cardwiz"
; Adapter names
;
CARDWIZ10BT="Cardwiz CreditCard Ethernet+Modem 10Base-T"

The calculation of this checksum is described in the PCMCIA section of the DDK. A tool called DTPL.EXE is provided to help card developers create device Ids and configuration information for their cards.