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

📄 spectrumdll.h

📁 把USB访问的相关函数封装成DLL的源代码
💻 H
字号:
// spectrumdll.h : main header file for the SPECTRUMDLL DLL
//

#if !defined(AFX_SPECTRUMDLL_H__55DB8106_3856_11D6_ABF8_D1EF98DC8E79__INCLUDED_)
#define AFX_SPECTRUMDLL_H__55DB8106_3856_11D6_ABF8_D1EF98DC8E79__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CSpectrumdllApp
// See spectrumdll.cpp for the implementation of this class
//

class CSpectrumdllApp : public CWinApp
{
public:
	CSpectrumdllApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSpectrumdllApp)
	//}}AFX_VIRTUAL

	//{{AFX_MSG(CSpectrumdllApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

extern "C" int _stdcall ReadTTL(int * Input0,int * Input1,int * Input2,int * Input3,int * Input4);
extern "C" int _stdcall ReadAmp(int * Amp0,int * Amp1);
extern "C" int _stdcall WriteMotor(int Motor0,int Motor1,int Motor2,int Motor3,int Motor4);
extern "C" int _stdcall PowerSwitch(int Sw0,int Sw1);
extern "C" int _stdcall Hold8051Reset(void);
extern "C" int _stdcall Free8051Reset(void);
extern "C" int _stdcall ChangeAmp(int Amp0,int Amp1);



/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SPECTRUMDLL_H__55DB8106_3856_11D6_ABF8_D1EF98DC8E79__INCLUDED_)

⌨️ 快捷键说明

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