Bmptest.h
上传用户:cjd055
上传日期:2013-04-01
资源大小:608k
文件大小:1k
- // BmpTest.h : main header file for the BMPTEST application
- //
- #if !defined(AFX_BMPTEST_H__F2A2D31D_AFA8_11D3_9460_0000000038B2__INCLUDED_)
- #define AFX_BMPTEST_H__F2A2D31D_AFA8_11D3_9460_0000000038B2__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
- #define WIDTHBYTES(bits) (((bits) + 31) / 32 * 4)
- #include "resource.h" // main symbols
- /////////////////////////////////////////////////////////////////////////////
- // CBmpTestApp:
- // See BmpTest.cpp for the implementation of this class
- //
- class CBmpTestApp : public CWinApp
- {
- public:
- CBmpTestApp();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBmpTestApp)
- public:
- virtual BOOL InitInstance();
- //}}AFX_VIRTUAL
- // Implementation
- //{{AFX_MSG(CBmpTestApp)
- afx_msg void OnAppAbout();
- // 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()
- };
- typedef struct {
- int number;
- float dist;
- char name[20];
- } DISTANCE;
- typedef DISTANCE* PDISTANCE;
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_BMPTEST_H__F2A2D31D_AFA8_11D3_9460_0000000038B2__INCLUDED_)