// acxdriver.h
NTSTATUS AcxDriverInitialize(
WDFDRIVER Driver,
PACX_DRIVER_CONFIG DriverConfig
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxDriverInitialize function initializes the specified audio driver.
DriverThe WDFDRIVER object representing the audio driver to initialize.
DriverConfigPointer to a ACX_DRIVER_CONFIG structure that was previously initialized by calling the ACX_DRIVER_CONFIG_INIT function.
AcxDriverInitialize returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an NTSTATUS error code.
ACX_DRIVER_CONFIG acxCfg;
WDFDRIVER driver;
NTSTATUS status;
// Code to initialize the WDFDRIVER object...
// Initialize the audio driver configuration
ACX_DRIVER_CONFIG_INIT(&acxCfg);
// Initialize the audio driver
status = AcxDriverInitialize(driver, &acxCfg);
if (!NT_SUCCESS(status))
{
// Log error...
goto exit;
}
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.