GetEndpointPropertiesV3
Returns the properties of an endpoint, possibly in an alternate interface, including any information from the SuperSpeed Companion Descriptor
Declaration
virtual IOReturn GetEndpointPropertiesV3(
IOUSBEndpointProperties *endpointProperties);Parameters
- endpointProperties:
Pointer to a IOUSBEndpointProperties structure that upon success will contain the information for the endpoint. The bVersion field needs to be initialized with the structure version (see USBEndpointVersion enum in USB.h). The bAlternateSetting, bEndpointNumber, and bDirection (kUSBIn, kUSBOut) MUST also be filled in with the values for the desired descriptor. Not that the bMaxStreams value for Bulk endpoints is the value specified by the bmAttributes field in the SuperSpeed companion descriptor.
Return Value
returns kIOReturnSuccess if the endpoint is found, and kIOUSBEndpointNotFound if it is not.
See Also
Miscellaneous
DeviceRequest(IOUSBDevRequest *, IOUSBCompletion *)DeviceRequest(IOUSBDevRequestDesc *, IOUSBCompletion *)EnableRemoteWakeFindNextAltInterfaceFindNextAssociatedDescriptorFindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *)FindNextPipe(IOUSBPipe *, IOUSBFindEndpointRequest *, bool)GetAlternateSettingGetConfigValueGetDeviceGetEndpointPropertiesGetInterfaceClassGetInterfaceNumberGetInterfaceProtocolGetInterfaceStatusGetInterfaceStringIndexGetInterfaceSubClassGetNumEndpointsGetPipeObjRecreateStreamsRememberStreamsRememberStreams.SetAlternateInterfaceSetFunctionSuspendFeature