⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os1dlg.h

📁 主存空间的分配和回收 可变分区管理方式下采用首次适应算法实现主存分配和回收
💻 H
字号:
// OS1Dlg.h : header file
#include "PictureEx.h"
#include "OSPRO.h"
#include "FREEMEM.h"
//

#if !defined(AFX_OS1DLG_H__BE8A70B6_F02A_4FD6_9C71_2145D32D35B7__INCLUDED_)
#define AFX_OS1DLG_H__BE8A70B6_F02A_4FD6_9C71_2145D32D35B7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// COS1Dlg dialog

class COS1Dlg : public CDialog
{
// Construction
public:
	void ProList(CString proname,CString baseaddr,CString len);
	CPictureEx m_gif;
	CFREEMEM *pHead,*pCurrent;
	COSPRO *pHead1,*pCurrent1;
	CBitmap m_DlgBackground;
	COS1Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(COS1Dlg)
	enum { IDD = IDD_OS1_DIALOG };
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COS1Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(COS1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnQuit();
	afx_msg void OnHelp();
	afx_msg void OnBalloc();
	afx_msg void OnBunalloc();
	afx_msg void OnView();
	afx_msg void OnBegin();
	//}}AFX_MSG
	virtual void OnOK();
    //virtual void OnCancel();
	DECLARE_MESSAGE_MAP()
private:
	void OnUnAllocDraw(int baseaddr, int len);
	void OnAllocDraw(int baseaddr,int len);
	void OnInitDraw();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OS1DLG_H__BE8A70B6_F02A_4FD6_9C71_2145D32D35B7__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -