I have USB hub filter driver which needs to query USB hub port extended
attributes like “USB_PORTATTR_NO_CONNECTOR”, “USB_PORTATTR_SHARED_USB2” or
“USB_PORTATTR_OEM_CONNECTOR”, etc.
On Windows XP, the USB port driver interface GetExtendedHubInformation() can
return information for all of the ports on the indicated hub. However, the
same interface routine returns STATUS_NOT_SUPPORTED on Windows Vista and
Windows 7. I also looked at the IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES.
The msdn said “For Windows Vista, Windows Server 2008, and Windows 7 the
Microsoft-extended port attributes field will always be zero”.
Is there any other possible way to get USB hub port extended attributes on
Windows Vista and Windows 7? Are extended attributes not supported on
Windows Vista and Windows 7 at all?
Thanks
I’m pretty sure these attributes are just not supported.
Philip
On 1/27/2011 7:24 PM, David Wu wrote:
I have USB hub filter driver which needs to query USB hub port extended
attributes like “USB_PORTATTR_NO_CONNECTOR”, “USB_PORTATTR_SHARED_USB2”
or “USB_PORTATTR_OEM_CONNECTOR”, etc.
On Windows XP, the USB port driver interface GetExtendedHubInformation()
can return information for all of the ports on the indicated hub.
However, the same interface routine returns STATUS_NOT_SUPPORTED on
Windows Vista and Windows 7. I also looked at the
IOCTL_USB_GET_NODE_CONNECTION_ATTRIBUTES. The msdn said “For Windows
Vista, Windows Server 2008, and Windows 7 the Microsoft-extended port
attributes field will always be zero”.
Is there any other possible way to get USB hub port extended attributes
on Windows Vista and Windows 7? Are extended attributes not supported on
Windows Vista and Windows 7 at all?
Thanks