AcxDriverIsVersionAvailable - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// acxdriver.h

BOOLEAN AcxDriverIsVersionAvailable(
  WDFDRIVER                            Driver,
  PACX_DRIVER_VERSION_AVAILABLE_PARAMS VersionAvailableParams
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-acxdriver-acxdriverisversionavailable)

Description

The AcxDriverIsVersionAvailable function returns a Boolean value indicating if the specified driver version is available.

Parameters

Driver

The WDFDRIVER object to check for the version specified by VersionAvailableParams.

VersionAvailableParams

Pointer to an ACX_DRIVER_VERSION_AVAILABLE_PARAMS structure that indicates the version of the audio driver you are seeking.

Return value

AcxDriverIsVersionAvailable returns a Boolean value indicating if the specified driver version is available.

Remarks

Call the ACX_DRIVER_VERSION_AVAILABLE_PARAMS_INIT function to initialize the VersionAvailableParams structure before calling this function.

Example

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;
}

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

See also