|
smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
|

Public Member Functions | |
| win_csmi_device (smart_interface *intf, const char *dev_name, const char *req_type) | |
| virtual | ~win_csmi_device () throw () |
| virtual bool | open () |
| Open device, return false on error. | |
| virtual bool | close () |
| Close device, return false on error. | |
| virtual bool | is_open () const |
| Return true if device is open. | |
| bool | open_scsi () |
Protected Member Functions | |
| virtual bool | csmi_ioctl (unsigned code, IOCTL_HEADER *csmi_buffer, unsigned csmi_bufsiz) |
| Call platform-specific CSMI ioctl. | |
Private Attributes | |
| HANDLE | m_fh |
| Controller device handle. | |
| unsigned | m_phy_no |
| Physical drive number. | |
Definition at line 445 of file os_win32.cpp.
| os_win32::win_csmi_device::win_csmi_device | ( | smart_interface * | intf, |
| const char * | dev_name, | ||
| const char * | req_type | ||
| ) |
Definition at line 3040 of file os_win32.cpp.
| os_win32::win_csmi_device::~win_csmi_device | ( | ) | throw () [virtual] |
Definition at line 3047 of file os_win32.cpp.
| bool os_win32::win_csmi_device::close | ( | ) | [virtual] |
Close device, return false on error.
Implements smart_device.
Definition at line 3058 of file os_win32.cpp.
| bool os_win32::win_csmi_device::csmi_ioctl | ( | unsigned | code, |
| IOCTL_HEADER * | csmi_buffer, | ||
| unsigned | csmi_bufsiz | ||
| ) | [protected, virtual] |
Call platform-specific CSMI ioctl.
Implements os_win32::csmi_device.
Definition at line 3120 of file os_win32.cpp.
| bool os_win32::win_csmi_device::is_open | ( | ) | const [virtual] |
Return true if device is open.
Implements smart_device.
Definition at line 3053 of file os_win32.cpp.
| bool os_win32::win_csmi_device::open | ( | ) | [virtual] |
Open device, return false on error.
Implements smart_device.
Definition at line 3105 of file os_win32.cpp.
| bool os_win32::win_csmi_device::open_scsi | ( | ) |
Definition at line 3068 of file os_win32.cpp.
HANDLE os_win32::win_csmi_device::m_fh [private] |
Controller device handle.
Definition at line 467 of file os_win32.cpp.
unsigned os_win32::win_csmi_device::m_phy_no [private] |
Physical drive number.
Definition at line 468 of file os_win32.cpp.
1.7.4