⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sampleappgui.cpp

📁 pci驱动程序,用于PLX9052的开发.安装后会生成文档和函数库.
💻 CPP
字号:
/*******************************************************************************
 * Copyright (c) 2005 PLX Technology, Inc.
 *
 * PLX Technology Inc. licenses this software under specific terms and
 * conditions.  Use of any of the software or derviatives thereof in any
 * product without a PLX Technology chip is strictly prohibited.
 *
 * PLX Technology, Inc. provides this software AS IS, WITHOUT ANY WARRANTY,
 * EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  PLX makes no guarantee
 * or representations regarding the use of, or the results of the use of,
 * the software and documentation in terms of correctness, accuracy,
 * reliability, currentness, or otherwise; and you rely on the software,
 * documentation and results solely at your own risk.
 *
 * IN NO EVENT SHALL PLX BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS,
 * LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES
 * OF ANY KIND.  IN NO EVENT SHALL PLX'S TOTAL LIABILITY EXCEED THE SUM
 * PAID TO PLX FOR THE PRODUCT LICENSED HEREUNDER.
 *
 ******************************************************************************/

/******************************************************************************
 *
 * File Name:
 *
 *      SampleAppGUI.cpp
 *
 * Description:
 *
 *      Sample GUI application
 *
 * Revision History:
 *
 *      06-01-05 : PLX PCI SDK v4.40
 *
 ******************************************************************************/


#include "stdafx.h"
#include "SampleAppGUI.h"
#include "SampleAppGUIDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif




// The one and only CSampleAppGUIApp object
CSampleAppGUIApp theApp;




BEGIN_MESSAGE_MAP(CSampleAppGUIApp, CWinApp)
    //{{AFX_MSG_MAP(CSampleAppGUIApp)
    //}}AFX_MSG

    ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()




/////////////////////////////////////////////////////////////////////////////
// CSampleAppGUIApp construction

/*****************************************************************************************
 *
 * Function   :
 *
 * Description: 
 *
 ****************************************************************************************/
CSampleAppGUIApp::CSampleAppGUIApp()
{
}




/*****************************************************************************************
 *
 * Function   :
 *
 * Description: 
 *
 ****************************************************************************************/
BOOL CSampleAppGUIApp::InitInstance()
{
    int              nResponse;
    CSampleAppGUIDlg dlg;


    // Standard initialization
#ifdef _AFXDLL
    Enable3dControls();            // Call this when using MFC in a shared DLL
#else
    Enable3dControlsStatic();    // Call this when linking to MFC statically
#endif

    m_pMainWnd = &dlg;

    // Open dialog
    nResponse = dlg.DoModal();

    if (nResponse == IDOK)
    {
    }
    else if (nResponse == IDCANCEL)
    {
    }

    return FALSE;
}

⌨️ 快捷键说明

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