@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: TODO - Used with DeviceIOControl and IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES to get information about a port !!!!C# Definition: [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)] public struct USB_PORT_CONNECTOR_PROPERTIES { public uint ConnectionIndex; public uint ActualLength; public uint Properties; public ushort CompanionIndex; public ushort CompanionPortNumber; [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)] public string CompanionHubSymbolicLinkName; } !!!!VB Definition: Structure USB_PORT_CONNECTOR_PROPERTIES Public TODO End Structure !!!!User-Defined Field Types: None. !!!!Notes: The Properties field is a USB_PORT_PROPERTIES, which is a packed ULONG (32-bit int), as shown below. struct { ULONG PortIsUserConnectable : 1; ULONG PortIsDebugCapable : 1; ULONG PortHasMultipleCompanions : 1; ULONG PortConnectorIsTypeC : 1; ULONG ReservedMBZ : 28; }; USB_PORT_CONNECTOR_PROPERTIES is obtained from an control request using DeviceIOControl. The control code is: public const uint IOCTL_USB_GET_PORT_CONNECTOR_PROPERTIES = 0x00220458; Documentation: USB_PORT_CONNECTOR_PROPERTIES@msdn on MSDN
Edit Structures.USB_PO...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.