idatatransfer.cpp

来自「完整的基于Conxant平台的USB电视棒的WIN驱动程序。」· C++ 代码 · 共 30 行

CPP
30
字号
/*+++ *******************************************************************\ 
* 
*  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. 
*
\******************************************************************* ---*/ 

#include "IDataTransfer.h"
#include "DataTransfer.h"

/////////////////////////////////////////////////////////////////////////////////////////
IDataTransfer* IDataTransfer::allocate(
                                      CUsbInterface* p_usb, 
                                      PolarisUsbInterface* p_usb_firmware,
                                      PDEVICE_OBJECT pdo,
                                      PcbConfig* p_current_config,
                                      BYTE type)
{
    return new DataTransfer(p_usb, p_usb_firmware, pdo, p_current_config,type);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?