REQUEST_GET_CONFIG_ROM control code

The REQUEST_GET_CONFIG_ROM request returns the contents of a node's configuration ROM.

The relevant members of the IRB for this request are:


typedef struct _IRB {
  ULONG FunctionNumber;
    .
    .
    .
  union {
    struct {
      ULONG		GenerationCount; 
      PCROM		ConfigRom; 
      ULONG		UnitDirectoryIndex; 
      ULONG		UnitDependentDirectoryIndex; 
      ULONG		VendorLeafIndex; 
      ULONG		ModelLeafIndex; 
    }GetConfigRom;
    .
    .
    .
  } u;
} IRB;


IRB Input

FunctionNumber

REQUEST_GET_CONFIG_ROM

u.GetConfigRom.GenerationCount

Receives the generation of the bus for which the contents of this configuration ROM was retrieved.

u.GetConfigRom.UnitDirectoryIndex

Receives the index to the node's unit directory in its configuration ROM. This is an index to the Entries array in the u.GetConfigRom.ConfigRom structure.

u.GetConfigRom.UnitDependentDirectoryIndex

Receives the index to the node's unit dependent directory in its configuration ROM. This is an index to the Entries array in the u.GetConfigRom.ConfigRom structure.

u.GetConfigRom.VendorLeafIndex

Receives the index to the node's vendor textual leaf in the configuration ROM. This is an index to the Entries array in the u.GetConfigRom.ConfigRom structure.

u.GetConfigRom.ModelLeafIndex

Receives the index to the node's model textual leaf in the configuration ROM. This is an index to the Entries array in the u.GetConfigRom.ConfigRom structure.

Remarks

The REQUEST_GET_CONFIG_ROM returns the contents of a node's configuration ROM. It returns the entire contents of the device's configuration ROM, up to a maximum size of 1 kilobyte (KB). The new 1394 bus driver supports only 1 KB configuration ROMs, which is the same as the legacy 1394 bus driver.

Requirements

Version

Available in Windows 7 and later.

Header

Winioctl.h

See also

DeviceIoControl
Retrieving the Contents of a IEEE 1394 Node's Configuration ROM
Device Driver Interface (DDI) Changes in Windows 7

 

 

Send comments about this topic to Microsoft

Show: