📄 idatatransfer.h
字号:
/*+++ *******************************************************************\
*
* Copyright and Disclaimer:
*
* ---------------------------------------------------------------
* This software is provided "AS IS" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of noninfringement, merchantability and/or
* fitness for a particular purpose.
* ---------------------------------------------------------------
*
* Copyright (c) 2008 Conexant Systems, Inc.
* All rights reserved.
*
\******************************************************************* ---*/
#ifndef _I_DATA_TRANSFER_H_
#define _I_DATA_TRANSFER_H_
extern "C"
{
#include <wdm.h>
}
#include <windef.h>
class CUsbInterface;
class PolarisUsbInterface;
class BasePin;
class PcbConfig;
class IDataTransfer
{
public:
virtual ~IDataTransfer(){}
static IDataTransfer* allocate(
CUsbInterface* p_usb,
PolarisUsbInterface* p_usb_firmware,
PDEVICE_OBJECT pdo,
PcbConfig* p_current_config,
BYTE type);
virtual VOID setPin(BasePin* p_pin) = 0;
virtual VOID releasePin(BasePin* p_pin) = 0;
virtual NTSTATUS start() = 0;
virtual VOID stop() = 0;
virtual VOID notifyPinFormatChange(BasePin* p_pin) = 0;
virtual VOID powerUp() = 0;
virtual NTSTATUS setInterface(UCHAR usb_interface_index) = 0;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -