Partager via


USB OTG Driver Supported Standard Bus IOCTLs (Windows Embedded CE 6.0)

1/6/2010

The following table shows the standard bus IOCTLs supported by the universal serial bus (USB) On-The-Go (OTG) driver with a description of the purpose of each. These IOCTLs complement the CEDDK dynamic-link library bus access functions.

For more information, see CEDDK Dynamic-Link Library Bus Access Functions.

Programming element Description

IOCTL_BUS_POSTINIT

This IOCTL unloads a subordinate driver in an alternate thread, which allows subordinate drivers to request that they themselves be unloaded.

IOCTL_BUS_TRANSLATE_BUS_ADDRESS

This IOCTL translates the physical bus address to the physical system address.

IOCTL_BUS_TRANSLATE_SYSTEM_ADDRESS

This IOCTL performs a device bus address translation.

IOCTL_BUS_GET_POWER_STATE

This IOCTL obtains the bus power level for a subordinate driver. Power control operations should only be initiated by the subordinate driver affected by the request.

IOCTL_BUS_SET_POWER_STATE

This IOCTL changes the bus power level for a subordinate driver specified by the bus name. Client drivers request this service from their bus drivers. Power control operations should only be initiated by the subordinate driver affected by the request.

IOCTL_BUS_IS_CHILD_REMOVED

This IOCTL determines if the subordinate driver has been removed. Subordinate drivers can use this to check if the caller has been removed or not. This call also can be used in subordinate driver's power callback.

IOCTL_BUS_NAME_PREFIX

This IOCTL retrieves the bus name prefix.

Note

The following CEDDK dynamic-link library bus access IOCTLs are not supported by USB OTG drivers: IOCTL_BUS_GET_CONFIGURE_DATA IOCTL_BUS_SET_CONFIGURE_DATA IOCTL_BUS_ACTIVATE_CHILD IOCTL_BUS_DEACTIVATE_CHILD

For more information, see CEDDK Dynamic-Link Library Bus Access IOCTLs.

See Also

Other Resources

USB OTG Driver Reference