AcxDeviceRemoveCircuit 함수는 ACX 디바이스에서 지정된 오디오 회로를 제거합니다.
통사론
NTSTATUS AcxDeviceRemoveCircuit(
WDFDEVICE Device,
ACXCIRCUIT Circuit
);
매개 변수
Device
WDFDEVICE는 회로 매개 변수로 지정된 오디오 회로를 제거할.
Circuit
Device 매개 변수로 지정된 WDFDEVICE에서 제거할 오디오 회로입니다.
반환 값
AcxDeviceRemoveCircuit 호출에 성공하면 STATUS_SUCCESS 반환합니다. 그렇지 않으면 NTSTATUS 오류 코드를 반환합니다.
발언
AcxDeviceAddCircuit 사용하여 WDFDEVICE오디오 회로를 추가합니다.
이 함수는 이 디바이스에 대한 EVT_WDF_DEVICE_RELEASE_HARDWARE 콜백 함수에서만 호출할 수 있습니다.
본보기
NTSTATUS status;
WDFDEVICE Device = NULL;
PUSBA2_DEVICE_CONTEXT devCtx;
// Code to initialize WDFDEVICE...
devCtx = GetDeviceContext(Device);
//
// Unregister filter and delete this audio filter.
//
if (devCtx->RenderCircuitAdded) {
ASSERT(devCtx->RenderCircuit);
status = AcxDeviceRemoveCircuit(Device, devCtx->RenderCircuit);
devCtx->RenderCircuit = NULL;
devCtx->RenderCircuitAdded = FALSE;
}
ACX 요구 사항
최소 ACX 버전: 1.0
ACX 버전에 대한 자세한 내용은 ACX 버전 개요참조하세요.
요구 사항
요구 | 값 |
---|---|
헤더 | acxdevice.h |
IRQL | PASSIVE_LEVEL |