Bewerken

Delen via


USBC_DEVICE_CONFIGURATION_INTERFACE_V1 structure (usbbusif.h)

The USBC_DEVICE_CONFIGURATION_INTERFACE_V1 structure is exposed by the vendor-supplied filter drivers to assist the USB generic parent driver in defining interface collections.

Syntax

typedef struct _USBC_DEVICE_CONFIGURATION_INTERFACE_V1 {
  USHORT                     Size;
  USHORT                     Version;
  PVOID                      Context;
  PINTERFACE_REFERENCE       InterfaceReference;
  PINTERFACE_DEREFERENCE     InterfaceDereference;
  USBC_START_DEVICE_CALLBACK StartDeviceCallback;
  USBC_PDO_ENABLE_CALLBACK   PdoEnableCallback;
  PVOID                      Reserved[7];
} USBC_DEVICE_CONFIGURATION_INTERFACE_V1, *PUSBC_DEVICE_CONFIGURATION_INTERFACE_V1;

Members

Size

The size, in bytes, of this structure.

Version

The version of the interface.

Context

The USB generic parent driver does not use this member. It is populated by the vendor supplied filter driver and may be used to track instance information for the bus interface. It is passed as a parameter to InterfaceReference and InterfaceDereference.

InterfaceReference

Pointer to a routine that increments the number of references to this interface. For more information about this routine, see InterfaceReference.

InterfaceDereference

Pointer to a routine that decrements the number of references to this interface. For more information about this routine, see InterfaceDereference.

StartDeviceCallback

Pointer to the callback routine that the filter driver furnishes to the USB generic parent driver to assist in defining interface collections on a device. For more information, see USBC_START_DEVICE_CALLBACK.

PdoEnableCallback

Reserved.

Reserved[7]

Reserved.

Requirements

Requirement Value
Header usbbusif.h (include Usbbusif.h)

See also

Customizing Enumeration of Interface Collections for Composite Devices

USB Structures

USBC_START_DEVICE_CALLBACK