Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
To obtain the Segment value for PCI Multi-Segment, use the DEVPKEY_Device_LocationInfo key.
Supported methods to obtain this property are:
- Kernel mode:
- User mode:
Upon successful call, you'll need to parse the returned string.
On single-segment system the string is in this format: PCI bus 1, device 2, function 3
On multi-segment system it looks like this: PCI segment 1 bus 2, device 3, function 4