USBC_FUNCTION_DESCRIPTOR structure (usbbusif.h)
The USBC_FUNCTION_DESCRIPTOR structure describes a USB function and its associated interface collection.
Syntax
typedef struct _USBC_FUNCTION_DESCRIPTOR {
UCHAR FunctionNumber;
UCHAR NumberOfInterfaces;
PUSB_INTERFACE_DESCRIPTOR *InterfaceDescriptorList;
UNICODE_STRING HardwareId;
UNICODE_STRING CompatibleId;
UNICODE_STRING FunctionDescription;
ULONG FunctionFlags;
PVOID Reserved;
} USBC_FUNCTION_DESCRIPTOR, *PUSBC_FUNCTION_DESCRIPTOR;
Members
FunctionNumber
The zero-based index of the interface collection.
NumberOfInterfaces
The number of interfaces in the interface collection.
InterfaceDescriptorList
An array of pointers to USB_INTERFACE_DESCRIPTOR-type structures that describe the interfaces in the interface collection.
HardwareId
The hardware identifier of the interface collection.
CompatibleId
The compatible identifier of the interface collection.
FunctionDescription
A description of the interface collection in human-readable text.
FunctionFlags
Vendor-defined flags that describe the interface collection.
Reserved
Reserved.
Remarks
For information on how to use user-defined callback routines to provide a custom definition of the interface collections on a device, see Customizing Enumeration of Interface Collections for Composite Devices.
Requirements
Requirement | Value |
---|---|
Header | usbbusif.h (include Usbbusif.h) |