Bewerken

Delen via


REENUMERATE_SELF_INTERFACE_STANDARD structure (wdm.h)

The REENUMERATE_SELF_INTERFACE_STANDARD interface structure enables a driver to request that its parent bus driver reenumerate the driver's device. This structure defines the GUID_REENUMERATE_SELF_INTERFACE_STANDARD interface.

Syntax

typedef struct _REENUMERATE_SELF_INTERFACE_STANDARD {
  USHORT                 Size;
  USHORT                 Version;
  PVOID                  Context;
  PINTERFACE_REFERENCE   InterfaceReference;
  PINTERFACE_DEREFERENCE InterfaceDereference;
  PREENUMERATE_SELF      SurpriseRemoveAndReenumerateSelf;
} REENUMERATE_SELF_INTERFACE_STANDARD, *PREENUMERATE_SELF_INTERFACE_STANDARD;

Members

Size

The size, in bytes, of this structure.

Version

The driver-defined interface version.

Context

A pointer to interface-specific context information.

InterfaceReference

A pointer to an InterfaceReference routine that increments the interface's reference count.

InterfaceDereference

A pointer to an InterfaceDereference routine that decrements the interface's reference count.

SurpriseRemoveAndReenumerateSelf

A pointer to a ReenumerateSelf routine that requests device reenumeration.

Remarks

A driver obtains a pointer to the REENUMERATE_SELF_INTERFACE_STANDARD structure by sending an IRP_MN_QUERY_INTERFACE IRP to its bus driver with InterfaceType set to GUID_REENUMERATE_SELF_INTERFACE_STANDARD.

The REENUMERATE_SELF_INTERFACE_STANDARD structure is an extension of the INTERFACE structure.

Requirements

Requirement Value
Minimum supported client Available starting with Windows Vista.
Header wdm.h (include Wdm.h, Ntddk.h)

See also

GUID_REENUMERATE_SELF_INTERFACE_STANDARD

INTERFACE

IRP_MN_QUERY_INTERFACE

InterfaceDereference

InterfaceReference

ReenumerateSelf