RETERR DiBuildClassDrvListFromOldInf(LPDEVICE_INFO lpdi, LPCSTR lpszSection, OLDINFPROC lpfnOldInfProc, LPARAM lParam)
Builds a class driver list from an old (Windows 3.1) style INF file.
lpdi
Pointer to a device info struct for a device that is being installed.
lpszSection
The install section in the old INF to be converted
lpfnOldInfProc
Callback function to fill in content of INF file.
lParam
Reference data passed to the callback proc.
The atDriverPath field of the lpdi must be set to a valid OEM INF file, which is type INF_TEXT. This function will generate an approprate Windows 95 INF header, and then call the supplied callback proc to convert the specified section into Win95 specific data. After the new INF is generated, this function will build a class driver list much like the DiBuildClassDrvList API does.