HW_TRACING_ENABLED callback function (storport.h)

The HwStorTracingEnabled callback routine enables the Storport to notify a miniport that event tracing is enabled.

Syntax

HW_TRACING_ENABLED HwTracingEnabled;

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

Parameters

HwDeviceExtension

[in] A pointer to the miniport driver's per-HBA storage area.

[in] Enabled

True to enable tracing in the miniport. Otherwise, false.

Return value

None

Remarks

The name HwStorTracingEnabled is placeholder text for the actual routine name. The actual prototype of this routine is defined in Storport.h as follows:

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

Requirements

Requirement Value
Minimum supported client Available in Windows 8 and later versions of Windows.
Target Platform Universal
Header storport.h (include Storport.h)
IRQL PASSIVE_LEVEL

See also

HW_INITIALIZATION_DATA