CEDDK Dynamic-Link Library Bus Access IOCTLs (Windows CE 5.0)

Send Feedback

The following table shows the IOCTLs that operate with a bus driver handle. These IOCTLs complement the CEDDK Dynamic-Link Library 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_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.

For a PC CARD bus, these names are supported:

  • For 32-bit PC Card card:
    • PCCARD_PCI_CONFIGURATION_SPACE
  • For a 16-bit PC Card card:
    • PCCARD_ATTRIBUTE_MEMORY
    • PCCARD_COMMON_MEMORY
    • PCCARD_ATTRIBUTE_MEMORY_INDIRECT
    • PCCARD_COMMON_MEMORY_INDIRECT
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_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.
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. Use this function to replace the legacy HalTranslateBusAddress function.
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_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_TRANSLATE_SYSTEM_ADDRESS This IOCTL performs a device bus address translation.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.