#include <bzsdev.h>
Public Member Functions | |
~iterator () | |
bool | Valid () |
bool | operator!= (const iterator &it) |
iterator & | operator++ () |
void | operator++ (int) |
const TCHAR * | GetDevicePath () |
const TCHAR * | GetInstanceId () |
tstring | GetDeviceRegistryProperty (unsigned Property) |
Queries one of the standard device registry properties, such as SPDRP_HARDWAREID. | |
Private Member Functions | |
iterator (DeviceInformationSet &set, unsigned index=0) | |
bool | LoadInstanceID () |
bool | LoadDetails () |
This method should be called ONLY after m_Data is initialized in LoadData(). | |
bool | LoadInterfaceData () |
bool | LoadDevData () |
bool | LoadData () |
Private Attributes | |
DeviceInformationSet & | m_Set |
unsigned | m_Index |
SP_DEVICE_INTERFACE_DATA | m_Data |
SP_DEVINFO_DATA | m_DevinfoData |
bool | m_bInterfaceDataPresent |
PSP_DEVICE_INTERFACE_DETAIL_DATA | m_pDetailData |
unsigned | m_DetailBufferSize |
CBuffer | m_InstanceId |
Friends | |
class | DeviceInformationSet |
BazisLib::DeviceInformationSet::iterator::iterator | ( | DeviceInformationSet & | set, | |
unsigned | index = 0 | |||
) | [inline, private] |
BazisLib::DeviceInformationSet::iterator::~iterator | ( | ) | [inline] |
const TCHAR* BazisLib::DeviceInformationSet::iterator::GetDevicePath | ( | ) | [inline] |
tstring BazisLib::DeviceInformationSet::iterator::GetDeviceRegistryProperty | ( | unsigned | Property | ) | [inline] |
Queries one of the standard device registry properties, such as SPDRP_HARDWAREID.
Property | Specifies the exact property to query. Property IDs have names like SPDRP_xxx |
const TCHAR* BazisLib::DeviceInformationSet::iterator::GetInstanceId | ( | ) | [inline] |
bool BazisLib::DeviceInformationSet::iterator::LoadData | ( | ) | [inline, private] |
bool BazisLib::DeviceInformationSet::iterator::LoadDetails | ( | ) | [inline, private] |
This method should be called ONLY after m_Data is initialized in LoadData().
bool BazisLib::DeviceInformationSet::iterator::LoadDevData | ( | ) | [inline, private] |
bool BazisLib::DeviceInformationSet::iterator::LoadInstanceID | ( | ) | [inline, private] |
bool BazisLib::DeviceInformationSet::iterator::LoadInterfaceData | ( | ) | [inline, private] |
bool BazisLib::DeviceInformationSet::iterator::operator!= | ( | const iterator & | it | ) | [inline] |
void BazisLib::DeviceInformationSet::iterator::operator++ | ( | int | ) | [inline] |
iterator& BazisLib::DeviceInformationSet::iterator::operator++ | ( | ) | [inline] |
bool BazisLib::DeviceInformationSet::iterator::Valid | ( | ) | [inline] |
friend class DeviceInformationSet [friend] |
SP_DEVICE_INTERFACE_DATA BazisLib::DeviceInformationSet::iterator::m_Data [private] |
unsigned BazisLib::DeviceInformationSet::iterator::m_DetailBufferSize [private] |
SP_DEVINFO_DATA BazisLib::DeviceInformationSet::iterator::m_DevinfoData [private] |
unsigned BazisLib::DeviceInformationSet::iterator::m_Index [private] |
PSP_DEVICE_INTERFACE_DETAIL_DATA BazisLib::DeviceInformationSet::iterator::m_pDetailData [private] |