Share via


DDKWINDOWINFO (Windows CE 5.0)

Send Feedback

This structure contains address window information.

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Ddkreg.h.

See Also

DEVICEWINDOW | INTERFACE_TYPE | Interrupts | Loading Device Drivers | PCI Bus Driver

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.