dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::proxy::device< preference_t >::software Class Reference

Software Device API instance. More...

#include <dx_proxy_device.h>

Public Member Functions

software& lifetime(::SW_DEVICE_LIFETIME lifetime)
 software(const char* product_id, const ::GUID& guid, const std::string& id, const void* desc= nullptr, size_t size= 0)
 ~software() noexcept

Detailed Description

template<typename preference_t>
class dx::proxy::device< preference_t >::software

Software Device API instance.

PnP enumerates the device as SWD<product_id><id> and matches the driver INF by the hardware ID product_id; desc travels as DEVPROP_TYPE_BINARY property {guid, 2} on the PDO. The API is wide-string only - product_id and id are ASCII identifiers, so a plain widening suffices.

Constructor & Destructor Documentation

◆ software()

template<typename preference_t>
dx::proxy::device<preference_t>::software::software(const char* product_id, const ::GUID& guid, const std::string& id, const void* desc= nullptr, size_t size= 0)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~software()

template<typename preference_t>
dx::proxy::device<preference_t>::software::~software()
inlinenoexcept

Member Function Documentation

◆ lifetime()

template<typename preference_t>
software& dx::proxy::device<preference_t>::software::lifetime(::SW_DEVICE_LIFETIME lifetime)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

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