Share via


OAL_DDK_PARAMS (Windows Embedded CE 6.0)

1/5/2010

This structure contains information that the OALIoCtlHalDdkCall function uses when calling the OAL.

Syntax

typedef struct {
  UINT32 function;
  UINT32 rc;
  union {
    struct {
      DEVICE_LOCATION devLoc;
      UINT32 offset;
      UINT32 length;
      VOID *pBuffer;
    } busData;
    struct {
      INTERFACE_TYPE ifcType;
      UINT32 busNumber;
      UINT32 space;
      UINT64 address;
    } transAddress;
    struct {
      INTERFACE_TYPE ifcType;
      UINT32 busNumber;
    } busPower;
  };
} OAL_DDK_PARAMS;

Members

  • function
    [in] IOCTL that specifies which function to call. Set to IOCTL_OAL_READBUSDATA, IOCTL_OAL_WRITEBUSDATA, IOCTL_OAL_TRANSBUSADDRESS, IOCTL_OAL_TRANSSYSADDRESS, IOCTL_OAL_BUSPOWEROFF, or IOCTL_OAL_BUSPOWERON.
  • rc
    [out] Return code from the function member.
  • offset
    [in] Offset into the buffer.
  • length
    [in] Length of the buffer.
  • pBuffer
    [in] Pointer to a buffer.
  • busNumber
    [in] Bus number for the device, used with ifcType to identify the bus for systems with more than one bus of the same type.
  • space
    [in] Pointer to a port number or a memory address. space 0x0 indicates memory, 0x1 indicates I/O space.
  • address
    [in] Bus-relative address or the system address.
  • busNumber
    [in] Bus number for the device, used with ifcType to identify the bus for systems with more than one bus of the same type.

Requirements

Header oal_io.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

I/O Structures