Partager via


Ceddk.dll Bus Access IOCTLs (Compact 2013)

3/26/2014

The following table shows the IOCTLs that operate with a bus driver handle. These IOCTLs complement the Ceddk.dll Bus Access Functions.

IOCTL

Description

IOCTL_BUS_ACTIVATE_CHILD

This IOCTL loads a specified subordinate driver.

IOCTL_BUS_DEACTIVATE_CHILD

This IOCTL unloads a specified subordinate driver.

IOCTL_BUS_DISABLE_CHILD

This IOCTL enables a specified subordinate driver.

IOCTL_BUS_ENABLE_CHILD

This IOCTL disables a specified subordinate driver.

IOCTL_BUS_GET_CONFIGURE_DATA

This IOCTL reads from the configuration space of a subordinate driver specified by the bus name. Different buses have different configuration space names.

  • For a PCI bus, PCI_WHICHSPACE_CONFIG is supported.

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_IS_CHILD_ENABLE

This IOCTL determines whether the subordinate driver has been enabled.

IOCTL_BUS_IS_CHILD_REMOVED

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

IOCTL_BUS_NAME_PREFIX

This IOCTL retrieves the bus name prefix.

IOCTL_BUS_POSTINIT

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

IOCTL_BUS_SET_CONFIGURE_DATA

This IOCTL writes to configuration address space for a subordinate driver specified by the bus name. Different buses have different configuration address space names.

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_TRANSLATE_BUS_ADDRESS

This IOCTL translates the physical bus address to the physical system address. Use this function to replace the legacy HalTranslateBusAddress function.

IOCTL_BUS_TRANSLATE_SYSTEM_ADDRESS

This IOCTL performs a device bus address translation.

See Also

Reference

Ceddk.dll Bus Access Reference