BazisLib::DeviceInformationSet::iterator Class Reference

#include <bzsdev.h>

Collaboration diagram for BazisLib::DeviceInformationSet::iterator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~iterator ()
bool Valid ()
bool operator!= (const iterator &it)
iteratoroperator++ ()
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

DeviceInformationSetm_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


Constructor & Destructor Documentation

BazisLib::DeviceInformationSet::iterator::iterator ( DeviceInformationSet set,
unsigned  index = 0 
) [inline, private]

Here is the call graph for this function:

BazisLib::DeviceInformationSet::iterator::~iterator (  )  [inline]


Member Function Documentation

const TCHAR* BazisLib::DeviceInformationSet::iterator::GetDevicePath (  )  [inline]

Here is the call graph for this function:

tstring BazisLib::DeviceInformationSet::iterator::GetDeviceRegistryProperty ( unsigned  Property  )  [inline]

Queries one of the standard device registry properties, such as SPDRP_HARDWAREID.

Parameters:
Property Specifies the exact property to query. Property IDs have names like SPDRP_xxx

const TCHAR* BazisLib::DeviceInformationSet::iterator::GetInstanceId (  )  [inline]

Here is the call graph for this function:

bool BazisLib::DeviceInformationSet::iterator::LoadData (  )  [inline, private]

Here is the call graph for this function:

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]

Here is the call graph for this function:

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]

Here is the call graph for this function:

bool BazisLib::DeviceInformationSet::iterator::Valid (  )  [inline]


Friends And Related Function Documentation

friend class DeviceInformationSet [friend]


Member Data Documentation

SP_DEVICE_INTERFACE_DATA BazisLib::DeviceInformationSet::iterator::m_Data [private]

PSP_DEVICE_INTERFACE_DETAIL_DATA BazisLib::DeviceInformationSet::iterator::m_pDetailData [private]


The documentation for this class was generated from the following file:
SourceForge.net Logo