ReactOS 0.4.16-dev-937-g7afcd2a
|
#include <fbthw.h>
Public Member Functions | |
CBTHW () | |
virtual | ~CBTHW () |
void | SetDeviceName (LPCTSTR szDeviceName) |
DWORD | GetDeviceName (LPTSTR szBuffer, DWORD dwBufferSize) |
virtual DWORD | Attach (LPCSTR szDeviceName) |
virtual DWORD | Detach () |
HANDLE | GetDriverHandle () |
BOOL | IsAttached () |
DWORD | SendCommand (DWORD dwCommand, LPVOID lpInBuffer=NULL, DWORD dwInBufferSize=0, LPVOID lpOutBuffer=NULL, DWORD dwOutBufferSize=0, OVERLAPPED *pOverlapped=NULL) |
DWORD | SendData (LPVOID lpBuffer, DWORD dwBufferSize, DWORD *dwBytesSent, OVERLAPPED *pOverlapped) |
DWORD | GetData (LPVOID lpBuffer, DWORD dwBufferSize, DWORD *dwBytesRead, OVERLAPPED *pOverlapped) |
Protected Attributes | |
HANDLE | m_hDriver |
TCHAR | m_szDeviceName [1024] |
CBTHW::CBTHW | ( | ) |
|
virtual |
|
virtual |
DWORD CBTHW::GetData | ( | LPVOID | lpBuffer, |
DWORD | dwBufferSize, | ||
DWORD * | dwBytesRead, | ||
OVERLAPPED * | pOverlapped | ||
) |
HANDLE CBTHW::GetDriverHandle | ( | ) |
Referenced by IsAttached().
DWORD CBTHW::SendCommand | ( | DWORD | dwCommand, |
LPVOID | lpInBuffer = NULL , |
||
DWORD | dwInBufferSize = 0 , |
||
LPVOID | lpOutBuffer = NULL , |
||
DWORD | dwOutBufferSize = 0 , |
||
OVERLAPPED * | pOverlapped = NULL |
||
) |
DWORD CBTHW::SendData | ( | LPVOID | lpBuffer, |
DWORD | dwBufferSize, | ||
DWORD * | dwBytesSent, | ||
OVERLAPPED * | pOverlapped | ||
) |