Share via


Configuration File Format

The configuration file is only used by the fingerprint adapter test suite.

A sample configuration file, TestConfig.xml, is provided in the WinDDK/version/tools/biometric/arch directory. Use this file as a template to create your own configuration files.

You should only modify the <deviceInfo> section of the configuration file. The following is an example of a <deviceInfo> section.

  <deviceInfo>
    <sensorAdapterLib>winbiosensoradapter.dll</sensorAdapterLib>
    <engineAdapterLib>engineadapter.dll</engineAdapterLib>
    <storageAdapterLib>winbiostorageadapter.dll</storageAdapterLib>
    <indicatorSupported>0</indicatorSupported>
    <supportedModes>
      <supportedMode>0x00</supportedMode>
      <supportedMode>0x02</supportedMode>
    </supportedModes>
    <supportedPurposes>
      <supportedPurpose>0x01</supportedPurpose>
      <supportedPurpose>0x02</supportedPurpose>
      <supportedPurpose>0x04</supportedPurpose>
    </supportedPurposes>
  </deviceInfo>

For each adapter being tested, modify *adapter.dll with the name of the adapter module to be tested.

If the device is a physical device and supports the IOCTL_BIOMETRIC_GET_INDICATOR and IOCTL_BIOMETRIC_SET_INDICATOR, set the <indicatorSupported> value to 1.

The <supportedModes> node lists the set of sensor operating modes the device supports. Add or remove supported modes as appropriate. Possible values are shown in the following table:

Mode Value for <supportedMode>

WINBIO_SENSOR_BASIC_MODE

0x01

WINBIO_SENSOR_ADVANCED_MODE

0x02

WINBIO_SENSOR_NAVIGATION_MODE

0x03

WINBIO_SENSOR_SLEEP_MODE

0x04

 

The <supportedPurposes> node lists the set of BIR purposes the device supports. Add or remove supported purposes as appropriate. Possible values are shown in the following table:

Purpose Value for <supportedPurpose>

WINBIO_PURPOSE_VERIFY

0x01

WINBIO_PURPOSE_IDENTIFY

0x02

WINBIO_PURPOSE_ENROLL

0x04

WINBIO_PURPOSE_ENROLL_FOR_VERIFICATION

0x08

WINBIO_PURPOSE_ENROLL_FOR_IDENTIFICATION

0x10

WINBIO_PURPOSE_AUDIT

0x80

 

Although in fact WINBIO_BIR_PURPOSE is a set of flag bits, each supported purpose must be specified separately here.

 

 

Send comments about this topic to Microsoft

Build date: 4/30/2012