12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__F17B1275_777B_4853_BA83_26D30A2ECD0C__INCLUDED_)
- #define AFX_STDAFX_H__F17B1275_777B_4853_BA83_26D30A2ECD0C__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdisp.h> // MFC Automation classes
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
- typedef BOOL (WINAPI *API_GetQRCodeImg)(IN LPCTSTR lpString, // 要转二维码的字符串;
- IN const INT& nErrorCorrctionLevel, // 二维码的错误修正水平;
- IN const INT& nQRCodeVersion, // 要生成的二维码版本;
- IN const INT& nMaskLevel, // 二维码掩码水平;
- IN const INT& nWidth, // 要保存的图片宽;
- IN const INT& nHeight, // 要保存的图片高;
- IN LPCTSTR lpBitmapSavepath, // 要保存的路径;
- IN LPCTSTR lpSaveName // 要保存的文件名;
- );
- typedef BOOL (WINAPI *API_ShowQRCodeBitmap) (IN LPCTSTR lpString, // 要转二维码的字符串;
- IN const INT& nErrorCorrctionLevel, // 二维码的错误修正水平;
- IN const INT& nQRCodeVersion, // 要生成的二维码版本;
- IN const INT& nMaskLevel);
- typedef BOOL (WINAPI *API_ShowQRCodeOnDC)
- (IN CDC* pDC,
- IN CRect rcQRCode,
- IN LPCTSTR lpString, // 要转二维码的字符串;
- IN const INT& nErrorCorrctionLevel, // 二维码的错误修正水平;
- IN const INT& nQRCodeVersion, // 要生成的二维码版本;
- IN const INT& nMaskLevel
- );
- extern API_GetQRCodeImg g_GetQRCodeImg;
- extern API_ShowQRCodeBitmap g_ShowQRCodeBitmap;
- extern API_ShowQRCodeOnDC g_ShowQRCodeOnDC;
- extern HMODULE g_hQRCodeLibrary;
- extern BOOL LoadQRCodeLibrary();
- extern void showmsg();
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__F17B1275_777B_4853_BA83_26D30A2ECD0C__INCLUDED_)
|