共用方式為


HW_TRACING_ENABLED回呼函式 (storport.h)

HwStorTracingEnabled 回呼例程可讓 Storport 通知已啟用事件追蹤的迷你埠。

語法

HW_TRACING_ENABLED HwTracingEnabled;

void HwTracingEnabled(
       PVOID HwDeviceExtension,
  [in] BOOLEAN Enabled
)
{...}

參數

HwDeviceExtension

[in]迷你埠驅動程式每個 HBA 儲存區域的指標。

[in] Enabled

True 是表示 在迷你埠中啟用追蹤。 否則為 false。

傳回值

沒有

言論

HwStorTracingEnabled 的名稱 是實際例程名稱的佔位符文字。 此例程的實際原型定義於 storport.h ,如下所示:

typedef
VOID
HW_TRACING_ENABLED (
    _In_ PVOID HwDeviceExtension,
    _In_ BOOLEAN Enabled
    );

要求

要求 價值
最低支援的用戶端 適用於 Windows 8 和更新版本的 Windows。
目標平臺 普遍
標頭 storport.h (包括 Storport.h)
IRQL PASSIVE_LEVEL

另請參閱

HW_INITIALIZATION_DATA