C++

來源:互聯網
上載者:User

標籤:

 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_EXPORTS10 #define FPENGINE_API __declspec(dllexport)11 #else12 #define FPENGINE_API __declspec(dllimport)13 #endif14 15 #ifdef __cplusplus16 extern "C"17 {18 #endif19 20 // This class is exported from the FPEngine.dll21 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 __cplusplus50 }51 #endif

 

C++

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.