GET_DEVICE_RESET_STATUS callback function (wdm.h)

This topic describes the GET_DEVICE_RESET_STATUS callback function.

Syntax

GET_DEVICE_RESET_STATUS GetDeviceResetStatus;

NTSTATUS GetDeviceResetStatus(
  [in]  PVOID InterfaceContext,
  [out] PBOOLEAN IsResetting,
  [out] PDEVICE_BUS_SPECIFIC_RESET_TYPE ResetTypeSelected,
  [out] PDEVICE_RESET_STATUS_FLAGS Flags
)
{...}

Parameters

[in] InterfaceContext

Defines the PVOID parameter InterfaceContext.

[out] IsResetting

Defines the PBOOLEAN parameter IsResetting.

[out] ResetTypeSelected

Defines the PDEVICE_BUS_SPECIFIC_RESET_TYPE parameter ResetTypeSelected.

[out] Flags

Defines the PDEVICE_RESET_STATUS_FLAGS parameter Flags.

Return value

NTSTATUS

Requirements

Requirement Value
Header wdm.h (include Wdm.h)