window核心编程_code源程序

源代码在线查看: virtual memory alloctordlg.h

软件大小: 182 K
上传用户: csytml
关键词: window code 核心 编程
下载地址: 免注册下载 普通下载 VIP

相关代码

				// Virtual memory alloctorDlg.h : header file
				//
				
				#if !defined(AFX_VIRTUALMEMORYALLOCTORDLG_H__2D692A94_FEE1_49C7_BECF_204984D51017__INCLUDED_)
				#define AFX_VIRTUALMEMORYALLOCTORDLG_H__2D692A94_FEE1_49C7_BECF_204984D51017__INCLUDED_
				
				#if _MSC_VER > 1000
				#pragma once
				#endif // _MSC_VER > 1000
				#define MAX_SOMEDATA 50
				/////////////////////////////////////////////////////////////////////////////
				// CVirtualmemoryalloctorDlg dialog
				typedef struct {
				    BOOL ifInUse;
					BYTE otherData[2048-sizeof(BOOL)];
				}SOMEDATA,*PSOMEDATA;
				class CVirtualmemoryalloctorDlg : public CDialog
				{
				// Construction
				public:
					CVirtualmemoryalloctorDlg(CWnd* pParent = NULL);	// standard constructor
				
				// Dialog Data
					//{{AFX_DATA(CVirtualmemoryalloctorDlg)
					enum { IDD = IDD_VIRTUALMEMORYALLOCTOR_DIALOG };
					int		m_Index;
					//}}AFX_DATA
				
					// ClassWizard generated virtual function overrides
					//{{AFX_VIRTUAL(CVirtualmemoryalloctorDlg)
					protected:
					virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
					//}}AFX_VIRTUAL
				public:
						PSOMEDATA m_pSomeData;
						UINT m_pageSize;
						CRect m_rect;
				// Implementation
				protected:
					HICON m_hIcon;
				
					// Generated message map functions
					//{{AFX_MSG(CVirtualmemoryalloctorDlg)
					virtual BOOL OnInitDialog();
					afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
					afx_msg void OnPaint();
					afx_msg HCURSOR OnQueryDragIcon();
					afx_msg void OnReserve();
					afx_msg void OnUse();
					afx_msg void OnClear();
					afx_msg void OnCollect();
					afx_msg void OnChangeIndex();
					//}}AFX_MSG
					DECLARE_MESSAGE_MAP()
				};
				
				//{{AFX_INSERT_LOCATION}}
				// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
				
				#endif // !defined(AFX_VIRTUALMEMORYALLOCTORDLG_H__2D692A94_FEE1_49C7_BECF_204984D51017__INCLUDED_)
							

相关资源