DEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER callback function (wdm.h)

This topic describes the DEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER callback function.

Syntax

DEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER DeviceQueryBusSpecificResetHandler;

NTSTATUS DeviceQueryBusSpecificResetHandler(
  [in]  PVOID InterfaceContext,
  [out] PULONG ResetInfoCount,
  [out] PDEVICE_BUS_SPECIFIC_RESET_INFO ResetInfoSupported
)
{...}

Parameters

[in] InterfaceContext

Defines the PVOID parameter InterfaceContext.

[out] ResetInfoCount

Defines the PULONG parameter ResetInfoCount.

[out] ResetInfoSupported

Defines the PDEVICE_BUS_SPECIFIC_RESET_INFO parameter ResetInfoCount.

Return value

NTSTATUS

Requirements

Requirement Value
Minimum supported client Windows 11, version 22H2
Header wdm.h (include Wdm.h)