Contents

GetDescriptors

Retrieves the endpoint descriptors associated with this pipe.

Declaration

virtual kern_return_t GetDescriptors(IOUSBStandardEndpointDescriptors *descriptors, IOUSBGetEndpointDescriptorOptions type);

Parameters

  • descriptors:

    A pointer to a variable. On output, this variable contains the endpoint descriptors for the pipe.

  • type:

    The options indicating which descriptors to retrieve. For a list of possible values, see Iousbgetendpointdescriptoroptions.

Return Value

kIOReturnSuccess on success, or another value if an error occurs. See Error Codes.

See Also

Getting the Endpoint Descriptors