49 SetupDiDestroyDeviceInfoList(
m_h);
68 _In_ HDEVINFO DeviceInfoSet,
69 _Inout_opt_ PSP_DEVINFO_DATA DeviceInfoData,
70 _In_ DWORD DriverType) noexcept :
71 m_DeviceInfoSet (DeviceInfoSet),
72 m_DeviceInfoData(DeviceInfoData),
73 m_DriverType (DriverType)
75 m_result = SetupDiBuildDriverInfoList(m_DeviceInfoSet, m_DeviceInfoData, m_DriverType);
86 SetupDiDestroyDriverInfoList(m_DeviceInfoSet, m_DeviceInfoData, m_DriverType);
101 HDEVINFO m_DeviceInfoSet;
102 PSP_DEVINFO_DATA m_DeviceInfoData;
Base abstract template class to support generic object handle keeping.
Definition Common.h:874
handle_type m_h
Definition Common.h:1126
HDEVINFO wrapper class.
Definition SetupAPI.h:26
virtual ~setup_device_info_list()
Frees the device information set.
Definition SetupAPI.h:35
void free_internal() noexcept override
Frees the device information set.
Definition SetupAPI.h:47
Builds a list of drivers in constructor and deletes it in destructor.
Definition SetupAPI.h:57
setup_driver_info_list_builder(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, DWORD DriverType) noexcept
Construct the builder and builds a list of drivers that is associated with a specific device or with ...
Definition SetupAPI.h:67
virtual ~setup_driver_info_list_builder()
Deletes a driver list and destructs the builder.
Definition SetupAPI.h:83
BOOL status() const noexcept
Return result of SetupDiBuildDriverInfoList() call.
Definition SetupAPI.h:94
#define WINSTD_NONCOPYABLE(C)
Declares a class as non-copyable.
Definition Common.h:67
#define WINSTD_NONMOVABLE(C)
Declares a class as non-movable.
Definition Common.h:75
#define WINSTD_HANDLE_IMPL(C, T, INVAL)
Implements default constructors and operators to prevent their auto-generation by compiler.
Definition Common.h:164
static const HDEVINFO invalid
Definition Common.h:884