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

📄 asyndll.h

📁 主要功能的记不清楚了
💻 H
字号:
// ASynDll.h : main header file for the ASYNDLL DLL
//

#if !defined(AFX_ASYNDLL_H__72262C09_06CC_43AD_BCC0_E2227C411015__INCLUDED_)
#define AFX_ASYNDLL_H__72262C09_06CC_43AD_BCC0_E2227C411015__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

/////////////////////////////////////////////////////////////////////////////
// CASynDllApp
// See ASynDll.cpp for the implementation of this class
//
class CASynDllApp : public CWinApp
{
public:
	CASynDllApp();

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

	//{{AFX_MSG(CASynDllApp)
		// 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()
};

//如果定义了ASynDLL_EXPORTS,
//就设置ASynDLL_API为导出,否则设置为导入
#ifdef ASynDLL_EXPORTS
#define ASynDLL_API __declspec(dllexport)
#else
#define ASynDLL_API __declspec(dllimport)
#endif

//导出Dll函数
extern "C" 
{
	//查询数据,异步方法
	long ASynDLL_API QueryData(void); 
	//设置回调函数
    long ASynDLL_API SetCallbackProcAddr(long); 
}

//定义回调函数类型
typedef void (* TDataReadNotify)(long);

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

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

#endif // !defined(AFX_ASYNDLL_H__72262C09_06CC_43AD_BCC0_E2227C411015__INCLUDED_)

⌨️ 快捷键说明

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