AcxDeviceInitialize - NtDoc

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

NTSTATUS AcxDeviceInitialize(
  WDFDEVICE          Device,
  PACX_DEVICE_CONFIG DeviceConfig
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-acxdevice-acxdeviceinitialize)

Description

The AcxDeviceInitialize function initializes an audio class extension (ACX) device.

Parameters

Device

Pointer to a WDFDEVICE representing the device to initialize.

DeviceConfig

Pointer to an ACX_DEVICE_CONFIG structure that has been initialized by calling the ACX_DEVICE_CONFIG_INIT function.

Return value

AcxDeviceInitialize returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an NTSTATUS error code.

Remarks

Example

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

ACX requirements

Minimum ACX version: 1.0

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

See also