다음을 통해 공유


AcxCircuitResumeIo 매크로(acxcircuit.h)

AcxCircuitResumeIo 함수는 일시적으로 중지된 후 회로 I/O를 다시 시작하는 데 사용됩니다.

구문

void AcxCircuitResumeIo(
   Circuit
);

매개 변수

Circuit

기존 ACXCIRCUIT 개체입니다. ACX 개체에 대한 자세한 내용은 ACX 개체 요약을 참조하세요.

반환 값

없음

설명

이 버전의 중지 IO 호출을 사용하는 것이 아니라 태그를 사용하여 추가 진단 정보를 제공하므로 AcxCircuitResumeIoWithTag 매크로 를 사용하는 것이 좋습니다.

예제

사용 예제는 다음과 같습니다.


    BOOLEAN                         stoppedIo = FALSE;
    circuit = AcxPinGetCircuit(pin);

    //
    // Temporarily disable this circuit's I/Os while we are updating the 
    // formats. This thread cannot be an I/O dispatched thread else we deadlock.
    //
    status = AcxCircuitStopIo(circuit, AcxStopIoNoFlags);
    if (!NT_SUCCESS(status))
    {
        HDTrace(TRACE_LEVEL_ERROR, FLAG_INFO, 
                "Failed to stop I/O on circuit %p, %!STATUS!", 
                circuit, status);
        ASSERT(FALSE);
        goto exit;
    }
    stoppedIo = TRUE;

   // Code to update format list not shown here 

...

    if (stoppedIo)
    {
        AcxCircuitResumeIo(circuit);
        stoppedIo = FALSE;
    }

ACX 요구 사항

최소 ACX 버전: 1.0

ACX 버전에 대한 자세한 내용은 ACX 버전 개요를 참조하세요.

요구 사항

요구 사항
헤더 acxcircuit.h
IRQL PASSIVE_LEVEL

추가 정보