// usbfnbase.h
typedef enum _USBFN_PORT_TYPE {
UsbfnUnknownPort,
UsbfnStandardDownstreamPort,
UsbfnChargingDownstreamPort,
UsbfnDedicatedChargingPort,
UsbfnInvalidDedicatedChargingPort,
UsbfnProprietaryDedicatedChargingPort,
UsbfnPortTypeMaximum
} USBFN_PORT_TYPE, *PUSBFN_PORT_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
Defines the possible port types that can be returned by the client driver during port detection.
UsbfnUnknownPortPort detection was unable to determine the port type.
UsbfnStandardDownstreamPortThe upstream port has been detected as a standard downstream port (SDP) (as defined in the Battery Charging Specification, revision 1.2).
UsbfnChargingDownstreamPortThe upstream port has been detected as a charging downstream port (CDP), as defined in the Battery Charging Specification, revision 1.2.
UsbfnDedicatedChargingPortThe upstream port has been detected as a dedicated charging port (DCP) (as defined in the Battery Charging Specification, revision 1.2).
UsbfnInvalidDedicatedChargingPortThe upstream port has been detected as a dedicated charging port that does not comply with the Battery Charging Specification, revision 1.2.
UsbfnProprietaryDedicatedChargingPortA proprietary charger was attached.
UsbfnPortTypeMaximumThe maximum value of the enumeration.