// wdm.h
typedef struct _DEVICE_RESET_INTERFACE_STANDARD {
USHORT Size;
USHORT Version;
PVOID Context;
PINTERFACE_REFERENCE InterfaceReference;
PINTERFACE_DEREFERENCE InterfaceDereference;
PDEVICE_RESET_HANDLER DeviceReset;
ULONG SupportedResetTypes;
PVOID Reserved;
PDEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER QueryBusSpecificResetInfo;
PDEVICE_BUS_SPECIFIC_RESET_HANDLER DeviceBusSpecificReset;
PGET_DEVICE_RESET_STATUS GetDeviceResetStatus;
} DEVICE_RESET_INTERFACE_STANDARD, *PDEVICE_RESET_INTERFACE_STANDARD;
View the official Windows Driver Kit DDI referenceNo description available.
The DEVICE_RESET_INTERFACE_STANDARD structure enables function drivers to reset and recover malfunctioning devices. This structure describes the GUID_DEVICE_RESET_INTERFACE_STANDARD interface.
For more information see Working with the GUID_DEVICE_RESET_INTERFACE_STANDARD.
SizeThe size, in bytes, of this structure.
VersionThe driver-defined interface version.
ContextA pointer to interface-specific context information.
InterfaceReferenceA pointer to an InterfaceReference routine that increments the interface's reference count.
InterfaceDereferenceA pointer to an InterfaceDereference routine that decrements the interface's reference count.
DeviceResetA pointer to the interface's DeviceReset routine. This routine can be used by function drivers to attempt to reset and recover a malfunctioning device.
SupportedResetTypesDefines the ULONG parameter SupportedResetTypes.
ReservedReserved for future use.
QueryBusSpecificResetInfoDefines the PDEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER parameter QueryBusSpecificResetInfo.
DeviceBusSpecificResetDefines the PDEVICE_BUS_SPECIFIC_RESET_HANDLER parameter DeviceBusSpecificReset.
GetDeviceResetStatusDefines the PGET_DEVICE_RESET_STATUS parameter GetDeviceResetStatus.
The DEVICE_RESET_INTERFACE_STANDARD structure is an extension of the INTERFACE structure. A driver obtains a pointer to the DEVICE_RESET_INTERFACE_STANDARD structure by sending an IRP_MN_QUERY_INTERFACE IRP to its bus driver with InterfaceType set to GUID_DEVICE_RESET_INTERFACE_STANDARD.
For more information about the purpose of this interface, see Working with the GUID_DEVICE_RESET_INTERFACE_STANDARD.