码迷,mamicode.com
首页 > 编程语言 > 详细

C++

时间:2015-06-20 23:30:22      阅读:306      评论:0      收藏:0      [点我收藏+]

标签:

 1 // The following ifdef block is the standard way of creating macros which make exporting 
 2 // from a DLL simpler. All files within this DLL are compiled with the FPENGINE_EXPORTS
 3 // symbol defined on the command line. this symbol should not be defined on any project
 4 // that uses this DLL. This way any other project whose source files include this file see 
 5 // FPENGINE_API functions as being imported from a DLL, wheras this DLL sees symbols
 6 // defined with this macro as being exported.
 7 //#pragma comment(lib, "Debug/FPEngine.lib")
 8 
 9 #ifdef FPENGINE_EXPORTS
10 #define FPENGINE_API __declspec(dllexport)
11 #else
12 #define FPENGINE_API __declspec(dllimport)
13 #endif
14 
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif
19 
20 // This class is exported from the FPEngine.dll
21 class FPENGINE_API CFPEngine {
22 public:
23     CFPEngine(void);
24     // TODO: add your methods here.
25 };
26 
27 extern FPENGINE_API int nFPEngine;
28 
29 FPENGINE_API int fnFPEngine(void);
30 
31 
32 FPENGINE_API int Analyze(BYTE *lpImage, int Width, int Height, BYTE *lpFeature, int *lpSize);
33 
34 FPENGINE_API int AnalyzeFromFile(LPCSTR lpszFileName, BYTE *lpFeature, int *lpSize);
35 
36 FPENGINE_API int PatternMatch(BYTE *lpFeature1, BYTE *lpFeature2, int *lpScore);
37 
38 FPENGINE_API int SaveFeature(LPCSTR lpszFileName, BYTE *lpFeature);
39 
40 FPENGINE_API int LoadFeature(LPCSTR lpszFileName, BYTE *lpFeature, int *lpSize);
41 
42 FPENGINE_API int LoadFingerImage(LPCSTR lpszFileName, BYTE *lpFinger, int *lpWidth, int *lpHeight);
43 
44 FPENGINE_API int SaveFingerImage(LPCSTR lpszFileName, BYTE *lpFinger, int Width, int Height);
45 
46 FPENGINE_API int GetImageQuality(BYTE *lpFinger, int Width, int Height, int *pScore);
47 
48 
49 #ifdef __cplusplus
50 }
51 #endif

 

C++

标签:

原文地址:http://www.cnblogs.com/rotblatt/p/4591162.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!