dxd - dynax driver framework 2.1.0d58
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::generic::driver::setup Class Reference

#include <dx_driver.h>

+ Inheritance diagram for dx::generic::driver::setup:
+ Collaboration diagram for dx::generic::driver::setup:

Public Member Functions

setuppurge (const char *hwid)
 
setupremove (const char *hwid) noexcept
 
setuprescan () noexcept
 
 setup (const ::GUID &guid, const char *bus=nullptr)
 the driver interface class constructor
 
const std::string uid (int instance) const
 the device enumerator
 
 ~setup () noexcept
 the driver interface class destructor
 

Constructor & Destructor Documentation

◆ setup()

dx::generic::driver::setup::setup ( const ::GUID & guid,
const char * bus = nullptr )
inline

the driver interface class constructor

the underlaying windows API is ::SetupDiGetClassDevs(). for detailed information see http://msdn.microsoft.com/en-us/library/ms792959.aspx

Exceptions
exception_texception
Parameters
guidthe GUID identifying the driver interface or device class
busbus enumerator for device classe

◆ ~setup()

dx::generic::driver::setup::~setup ( )
inlinenoexcept

the driver interface class destructor

the underlaying windows API is ::SetupDiDestroyDeviceInfoList(). for detailed information see http://msdn.microsoft.com/en-us/library/ms792991.aspx

Member Function Documentation

◆ purge()

setup & dx::generic::driver::setup::purge ( const char * hwid)
inline
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove()

setup & dx::generic::driver::setup::remove ( const char * hwid)
inlinenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rescan()

setup & dx::generic::driver::setup::rescan ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ uid()

const std::string dx::generic::driver::setup::uid ( int instance) const
inline

the device enumerator

the underlaying windows API is ::SetupDiEnumDeviceInterfaces() and ::SetupDiGetDeviceInterfaceDetail(). for detailed information see http://msdn.microsoft.com/en-us/library/ms791242.aspx resp. http://msdn.microsoft.com/en-us/library/ms792901.aspx

Exceptions
ERROR_INSUFFICIENT_BUFFERif the internally provide stack space is too small.
+ Here is the caller graph for this function:

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

(c) copyright 2009 dynamic acoustics e.U. generated on Sun Apr 28 2024

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.