// acxdriver.h
BOOLEAN AcxDriverIsVersionAvailable(
WDFDRIVER Driver,
PACX_DRIVER_VERSION_AVAILABLE_PARAMS VersionAvailableParams
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxDriverIsVersionAvailable function returns a Boolean value indicating if the specified driver version is available.
DriverThe WDFDRIVER object to check for the version specified by VersionAvailableParams.
VersionAvailableParamsPointer to an ACX_DRIVER_VERSION_AVAILABLE_PARAMS structure that indicates the version of the audio driver you are seeking.
AcxDriverIsVersionAvailable returns a Boolean value indicating if the specified driver version is available.
Call the ACX_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function to initialize the VersionAvailableParams structure before calling this function.
WDFDRIVER driver;
ACX_DRIVER_VERSION_AVAILABLE_PARAMS ver;
// Code to initialize the WDFDRIVER object...
// Initialize the audio driver version available structure
ACX_DRIVER_VERSION_AVAILABLE_PARAMS_INIT(&ver, 1, 0);
// Check if version 1.0 is available
if (!AcxDriverIsVersionAvailable(driver, &ver))
{
DbgPrint("Unexpected library version.\n");
return STATUS_REVISION_MISMATCH;
}
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.