BUSNUMBER_DES structure (cfgmgr32.h)

The BUSNUMBER_DES structure is used for specifying either a resource list or a resource requirements list that describes bus number usage for a device instance. For more information about resource lists and resource requirements lists, see Hardware Resources.

Syntax

typedef struct BusNumber_Des_s {
  DWORD BUSD_Count;
  DWORD BUSD_Type;
  DWORD BUSD_Flags;
  ULONG BUSD_Alloc_Base;
  ULONG BUSD_Alloc_End;
} BUSNUMBER_DES, *PBUSNUMBER_DES;

Members

BUSD_Count

For a resource list:

Zero.

For a resource requirements list:

The number of elements in the BUSNUMBER_RANGE array that is included in the BUSNUMBER_RESOURCE structure.

BUSD_Type

Must be set to the constant value BusNumberType_Range.

BUSD_Flags

Not used.

BUSD_Alloc_Base

For a resource list:

The lowest-numbered of a range of contiguous bus numbers allocated to the device.

For a resource requirements list:

Zero.

BUSD_Alloc_End

For a resource list:

The highest-numbered of a range of contiguous bus numbers allocated to the device.

For a resource requirements list:

Zero.

Remarks

The BUSNUMBER_DES structure is included as a member of the BUSNUMBER_RESOURCE structure.

Requirements

   
Header cfgmgr32.h (include Cfgmgr32.h)

See also

BUSNUMBER_RANGE

BUSNUMBER_RESOURCE