dm642app.h

来自「dsp DM642 pci 详细的开发例程」· C头文件 代码 · 共 69 行

H
69
字号
// Dm642App.h
//////////////////////////////////////////////////////////////////////////////
////
////  Copyright (c) 2003, Valley Technologies, Inc.
////  All rights reserved.
////
//////////////////////////////////////////////////////////////////////////////
////
////  $Header $
////
////  $ReleaseClass: src $
////
////  Original Author                 : ebersole
////  Most Recent Contributing $Author: ebersole $
////
//////////////////////////////////////////////////////////////////////////////
////
////  This file contains the constants, typedef's, function prototypes,
////    etc. shared by the files in the Dm642App program/project.  These are
////    NOT shared with the "outside world", however.  [IE, they are used
////    only by the file in the App-project and nowhere else.]
////
//////////////////////////////////////////////////////////////////////////////


//############################################################################


#ifndef _DM642_APP_H_
#define _DM642_APP_H_


//############################################################################
//                                Globals
//############################################################################


extern int   gnBoardsFound;
extern DWORD g_dwBoardNum;


//############################################################################
//                           Function Prototypes
//############################################################################


DWORD DM642LocateBoard(DWORD *pdwVendorID, DWORD *pdwDeviceID);

DM642_HANDLE DM642OpenBoard(DWORD dwVendorID,
                            DWORD dwDeviceID,
                            DWORD dwBoardNum);

void DM642CloseBoard(DM642_HANDLE *phDM642);

int ChangeBoard(DM642_HANDLE *phDM642, DWORD dwVendorID, DWORD dwDeviceID);

int RunApp(DM642_HANDLE hDM642);


//############################################################################


#endif


//############################################################################
//                             End-Of-File
//############################################################################

⌨️ 快捷键说明

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