dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::hwid Struct Reference

a model's hardware id as its bus enumerates it, off its desc at compile time: USB\VID_xxxx&PID_xxxx, PCI\VEN_xxxx&DEV_xxxx - PCI\CC_xxxxxx for a PCI model without vendor id, its model id the class code -, a software device's the product's urid; empty on a bus without one - the models of a product's inf (kernel/dxd_models.cpp) and the installer's devices alike More...

#include <dx_hwid.h>

Public Member Functions

template<typename desc_t>
constexpr hwid(const desc_t& desc)
constexpr operator const char*() const

Public Attributes

char id [0x80] {}

Detailed Description

a model's hardware id as its bus enumerates it, off its desc at compile time: USB\VID_xxxx&PID_xxxx, PCI\VEN_xxxx&DEV_xxxx - PCI\CC_xxxxxx for a PCI model without vendor id, its model id the class code -, a software device's the product's urid; empty on a bus without one - the models of a product's inf (kernel/dxd_models.cpp) and the installer's devices alike

Constructor & Destructor Documentation

◆ hwid()

template<typename desc_t>
dx::hwid::hwid(const desc_t& desc)
inlineexplicitconstexpr

Member Function Documentation

◆ operator const char *()

dx::hwid::operator const char*() const
inlineconstexpr

Member Data Documentation

◆ id

char dx::hwid::id[0x80]{}

The documentation for this struct was generated from the following file: