// acxdevice.h
NTSTATUS AcxDeviceInitialize(
WDFDEVICE Device,
PACX_DEVICE_CONFIG DeviceConfig
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxDeviceInitialize function initializes an audio class extension (ACX) device.
DevicePointer to a WDFDEVICE representing the device to initialize.
DeviceConfigPointer to an ACX_DEVICE_CONFIG structure that has been initialized by calling the ACX_DEVICE_CONFIG_INIT function.
AcxDeviceInitialize returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an NTSTATUS error code.
NTSTATUS status;
WDFDEVICE device = NULL;
ACX_DEVICE_CONFIG devCfg;
// Code to initialize WDFDEVICE...
ACX_DEVICE_CONFIG_INIT(&devCfg);
status = AcxDeviceInitialize(device, &devCfg);
if (!NT_SUCCESS(status))
{
ASSERT(FALSE);
goto exit;
}
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.