Skip to main content

SYS_PCI_ENUM

Constant SYS_PCI_ENUM 

Source
pub const SYS_PCI_ENUM: usize = 240; // 240usize
Expand description

Enumerate PCI devices matching specified criteria.

  • criteria_ptr: pointer to a PciProbeCriteria struct (class, subclass, vendor/device ID)
  • out_ptr: buffer to receive PciDevice structs
  • max_count: maximum number of devices to return

Returns the number of matching devices found.