次の方法で共有


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

関連項目