共用方式為


Difxapi.h

Starting in Windows 10 Version 1607 (Redstone 1), the Driver Install Frameworks (DIFx) tools are no longer included in the WDK.

For more information, see DIFx Guidelines.

This section contains reference topics for the Difxapi.h header.

In this section

Topic Description
DIFLOGCALLBACK A DIFLOGCALLBACK-typed function is an application-supplied callback function that an application registers by calling SetDifxLogCallback. DIFxAPI calls the callback function to log events that occur during DIFxAPI operation.
DIFXAPILOGCALLBACK A DIFXAPILOGCALLBACK-typed function is an application-supplied callback function that an application registers with DIFxAPI by calling DIFXAPISetLogCallback. DIFxAPI calls the callback function to log events that occur during DIFxAPI operation.
DIFXAPISetLogCallback The DIFXAPISetLogCallback function registers a caller-supplied callback function that DIFxAPI calls to log information about events that occur during DIFxAPI operations.
DriverPackageGetPath The DriverPackageGetPath function retrieves the fully qualified path of the INF file for a preinstalled driver package.
DriverPackageInstall The DriverPackageInstall function preinstalls a driver package and then installs the driver in the system.
DriverPackagePreinstall The DriverPackagePreinstall function preinstalls a driver package for a Plug and Play (PnP) function driver and installs the INF file for the driver package in the system INF file directory.
DriverPackageUninstall The DriverPackageUninstall function uninstalls the specified driver package from the system and removes the driver package.
INSTALLERINFO The INSTALLERINFO structure contains information about an application that DIFxAPI associates with a driver package.
SetDifxLogCallback The SetDifxLogCallback function registers a caller-supplied callback function that DIFxAPI calls to log information about events that occur during DIFxAPI operations.