idatatransfer.h
来自「完整的基于Conxant平台的USB电视棒的WIN驱动程序。」· C头文件 代码 · 共 61 行
H
61 行
/*+++ *******************************************************************\
*
* 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 + =
减小字号Ctrl + -
显示快捷键?