|
HyperDbg Debugger
|
PCI ID-related data structures. More...
Go to the source code of this file.
Classes | |
| struct | SubDevice |
| struct | Device |
| struct | Vendor |
Macros | |
| #define | PCI_ID_AS_STR_LENGTH (sizeof(UINT16) * 2) |
| #define | PCI_NAME_STR_LENGTH 255 |
| #define | PCI_ID_DATABASE_PATH "constants\\pci.ids" |
Typedefs | |
| typedef struct SubDevice | SubDevice |
| typedef struct Device | Device |
| typedef struct Vendor | Vendor |
Functions | |
| Vendor * | GetVendorById (UINT16 VendorId) |
| Returns Vendor entry, including corresponding devices and subdevices. | |
| void | FreeVendor (Vendor *VendorToFree) |
| Frees Vendor and all of its members. | |
| void | FreePciIdDatabase () |
| Frees PciIdDatabaseBuffer. | |
| Device * | GetDeviceFromVendor (Vendor *VendorToUse, UINT16 DeviceId) |
| Returns Device entry corresponding to DeviceId. | |
| SubDevice * | GetSubDeviceFromDevice (Device *DeviceToUse, UINT16 SubVendorId, UINT16 SubDeviceId) |
| Returns SubDevice entry corresponding to SubVendorId and DeviceId. | |
PCI ID-related data structures.
| #define PCI_ID_AS_STR_LENGTH (sizeof(UINT16) * 2) |
| #define PCI_ID_DATABASE_PATH "constants\\pci.ids" |
| #define PCI_NAME_STR_LENGTH 255 |
| typedef struct Device Device |
| typedef struct SubDevice SubDevice |
| typedef struct Vendor Vendor |
| void FreePciIdDatabase | ( | ) |
Frees PciIdDatabaseBuffer.
| void FreeVendor | ( | Vendor * | VendorToFree | ) |
Frees Vendor and all of its members.
| VendorToFree |
Returns Device entry corresponding to DeviceId.
| VendorToUse | |
| DeviceId |
Returns SubDevice entry corresponding to SubVendorId and DeviceId.
| DeviceToUse | |
| SubVendorId | |
| SubDeviceId |
Returns Vendor entry, including corresponding devices and subdevices.
Use FreeVendor() on returned Vendor pointer after usage. First call will initialize database - call FreeDatabase() once done querying.
| VendorId |