Storing Resource Descriptor Data

[This is preliminary documentation and subject to change.]

The system registry contains resource-related data for machines that run Microsoft® Windows NT® . This data is located under the registry key HKEY_LOCAL_MACHINE\Hardware\ResourceMap, and is kept in a special registry data type named REG_RESOURCE_LIST. Obtain the resource-related data using the Registry Provider, one of the standard built-in providers that is included with the WBEM SDK.

To store resource-related data in the system registry, specify a string that contains the following fields:

Field Description
Interface type One of the following values are valid: Internal, Isa, Eisa, MicroChannel, TurboChannel, PCIBus, VMEBus, NuBus, PCMCIABus, CBus, MPIBus, or MPSABus.
Bus number An integer specifying the bus number.
Partial descriptor number An integer specifying the descriptor number.
Offset or union type One of the following values are valid: Port.Start, Port.PhysicalAddress, Port.Length, Interrupt.Level, Interrupt.Vector, Interrupt.Affinity, Memory.Start, Memory.PhysicalAddress, Memory.Length, Dma.Channel, Dma.Port, Dma.Reserved1, DeviceSpecificData.DataSize, DeviceSpecificData.Reserved1, or DeviceSpecificData.Reserved2.

For example, the following resource descriptor illustrates a valid string:

local|hkey_local_machine\hardware\resourcemap\
  hardware abstraction layer\
  pc compatible eisa/isa HAL|.raw("eisa",0,0,"interrupt.affinity")