StdAfx.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #if !defined(AFX_STDAFX_H__F17B1275_777B_4853_BA83_26D30A2ECD0C__INCLUDED_)
  6. #define AFX_STDAFX_H__F17B1275_777B_4853_BA83_26D30A2ECD0C__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  11. #include <afxwin.h> // MFC core and standard components
  12. #include <afxext.h> // MFC extensions
  13. #include <afxdisp.h> // MFC Automation classes
  14. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  15. #ifndef _AFX_NO_AFXCMN_SUPPORT
  16. #include <afxcmn.h> // MFC support for Windows Common Controls
  17. #endif // _AFX_NO_AFXCMN_SUPPORT
  18. typedef BOOL (WINAPI *API_GetQRCodeImg)(IN LPCTSTR lpString, // 要转二维码的字符串;
  19. IN const INT& nErrorCorrctionLevel, // 二维码的错误修正水平;
  20. IN const INT& nQRCodeVersion, // 要生成的二维码版本;
  21. IN const INT& nMaskLevel, // 二维码掩码水平;
  22. IN const INT& nWidth, // 要保存的图片宽;
  23. IN const INT& nHeight, // 要保存的图片高;
  24. IN LPCTSTR lpBitmapSavepath, // 要保存的路径;
  25. IN LPCTSTR lpSaveName // 要保存的文件名;
  26. );
  27. typedef BOOL (WINAPI *API_ShowQRCodeBitmap) (IN LPCTSTR lpString, // 要转二维码的字符串;
  28. IN const INT& nErrorCorrctionLevel, // 二维码的错误修正水平;
  29. IN const INT& nQRCodeVersion, // 要生成的二维码版本;
  30. IN const INT& nMaskLevel);
  31. typedef BOOL (WINAPI *API_ShowQRCodeOnDC)
  32. (IN CDC* pDC,
  33. IN CRect rcQRCode,
  34. IN LPCTSTR lpString, // 要转二维码的字符串;
  35. IN const INT& nErrorCorrctionLevel, // 二维码的错误修正水平;
  36. IN const INT& nQRCodeVersion, // 要生成的二维码版本;
  37. IN const INT& nMaskLevel
  38. );
  39. extern API_GetQRCodeImg g_GetQRCodeImg;
  40. extern API_ShowQRCodeBitmap g_ShowQRCodeBitmap;
  41. extern API_ShowQRCodeOnDC g_ShowQRCodeOnDC;
  42. extern HMODULE g_hQRCodeLibrary;
  43. extern BOOL LoadQRCodeLibrary();
  44. extern void showmsg();
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  47. #endif // !defined(AFX_STDAFX_H__F17B1275_777B_4853_BA83_26D30A2ECD0C__INCLUDED_)