Share via


DDKWINDOWINFO (Windows Embedded CE 6.0)

1/6/2010

This structure contains address window information.

Syntax

typedef struct _DDKWINDOWINFO_tag {
  DWORD cbSize; 
  DWORD dwBusNumber;
  DWORD dwInterfaceType;
  DWORD dwNumIoWindows;
  DEVICEWINDOW ioWindows[MAX_DEVICE_WINDOWS];
  DWORD dwNumMemWindows;
  DEVICEWINDOW memWindows[MAX_DEVICE_WINDOWS];
} DDKWINDOWINFO, *PDDKWINDOWINFO;

Members

  • cbSize
    Size of this structure.
  • dwBusNumber
    PCI bus number. BusNumber in the registry, which is zero if there is no entry.
  • dwInterfaceType
    INTERFACE_TYPE value. Most likely, set to 5, which designates PCI. Use InterfaceTypeUndefined if there is no entry.
  • dwNumIoWindows
    Number of I/O windows.
  • ioWindows
    Array of dwNumIoWindowsDEVICEWINDOW structures, each of which describes an I/O resource window.
  • dwNumMemWindows
    Number of memory windows.
  • memWindows
    Array of dwNumMemWindows DEVICEWINDOW structures, each of which describes a memory resource window.

Remarks

The ioWindows array is populated from the IoBase and IoLen values, which can be DWORD values, in which case dwNumIoWindows is 1. If multiple I/O windows are present, IoBase and IoLen are REG_MULTI_SZ values, where each string in the multi-string is the hexadecimal value of the window base and corresponding length. The two arrays must be the same length. In this case, the ioWindows array is populated from these values and dwNumIoWindows is set to the array length. If no IoBase or IoLen value is present, dwNumIoWindows is set to zero.

Requirements

Header ddkreg.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Registry Helper Structures
DEVICEWINDOW
INTERFACE_TYPE

Concepts

Interrupts
Loading Device Drivers

Other Resources

PCI Bus Driver