MDBX_importINF

Import a Windows INF file into the monitor database

Declaration

int NAPI MDBX_importINF(
    const char *filename,
    char *mfr)

Prototype In

snap/monitor.h

Parameters

filename

Path to the Windows INF file to parse and import

mfr

Place to store first manufacturer string read (NULL to ignore)

 

Return Value

Error code for operation.

Description

This function is used to parse a Windows INF file from disk and insert all monitor records into the monitor database. This can be used to implement a monitor 'Have Disk' option for any supported Operating System.

Note:    The monitor database is expected to be opened before this function is called, and should be flushed and closed when done. Hence this function can also import multiple INF files at a time into the database.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com