// usbbusif.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The USBC_FUNCTION_DESCRIPTOR structure describes a USB function and its associated interface collection.
FunctionNumberThe zero-based index of the interface collection.
NumberOfInterfacesThe number of interfaces in the interface collection.
InterfaceDescriptorListAn array of pointers to USB_INTERFACE_DESCRIPTOR-type structures that describe the interfaces in the interface collection.
HardwareIdThe hardware identifier of the interface collection.
CompatibleIdThe compatible identifier of the interface collection.
FunctionDescriptionA description of the interface collection in human-readable text.
FunctionFlagsVendor-defined flags that describe the interface collection.
ReservedReserved.
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.