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

📄 5-3.htm

📁 计算机操作系统 西安电子科技大学出版社 操作系统实验
💻 HTM
📖 第 1 页 / 共 5 页
字号:
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>虚拟内存区域开始处的指针</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:2'>
  <td width=163 style='width:122.2pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>PVOID AllocationBase<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>如果这个特定的区域为子分配区的话,则为虚拟内存外面区域的指针;否则此值与</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>BaseAddress</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>相同</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:3'>
  <td width=163 style='width:122.2pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>DWORD AllocationProtect<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>虚拟内存最初分配区域的保护属性。其可能值包括:</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>PAGE_NOACCESS</span></span><span style='mso-bookmark:
  _Toc16587483'><span style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:
  "Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>PAGE_READONLY</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>PAGE_READWRITE</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>和</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>PAGE
  _EXECUTE_READ<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:4'>
  <td width=163 style='width:122.2pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>DWORD RegionSize<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>虚拟内存区域的字节数</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:5'>
  <td width=163 style='width:122.2pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><st1:place><st1:PlaceName><span style='mso-bookmark:_Toc16587483'><span
  lang=EN-US style='font-size:9.0pt'>DWORD</st1:PlaceName> <st1:PlaceType>State<o:p></o:p></span></span></st1:PlaceType></st1:place></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>区域的当前分配状态。其可能值为</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>MEM_COMMIT</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>MEM_FREE</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>和</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>MEM_RESERVE<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:6'>
  <td width=163 style='width:122.2pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>DWORD Protect<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>虚拟内存当前区域的保护属性。可能值与</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>AllocationProtect</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>成员的相同</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:7;mso-yfti-lastrow:yes'>
  <td width=163 style='width:122.2pt;border-top:none;border-left:none;
  border-bottom:solid windowtext 1.5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>DWORD Type<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=346 style='width:259.5pt;border:none;border-bottom:solid windowtext 1.5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>虚拟内存区域中出现的页面类型。可能值为</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>MEM_IMAGE</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>,</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>
  MEM_MAPPED</span></span><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>和</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>MEM_PRIVATE<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
</table>

</div>

<p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US>&nbsp;</span></span></p>

<p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US>&nbsp;</span></span></p>

<p class=a><span style='mso-bookmark:_Toc16587483'>表<span lang=EN-US>5-5<span
style="mso-spacerun: yes">&nbsp; </span>虚拟内存的API<o:p></o:p></span></span></p>

<div align=center>

<table border=1 cellspacing=0 cellpadding=0 style='margin-left:6.15pt;
 border-collapse:collapse;border:none;mso-border-top-alt:solid windowtext 1.5pt;
 mso-border-bottom-alt:solid windowtext 1.5pt;mso-padding-alt:0cm 5.4pt 0cm 5.4pt'>
 <tr style='height:17.0pt;mso-yfti-irow:0'>
  <td width=128 style='width:96.0pt;border-top:solid windowtext 1.5pt;
  border-left:none;border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal align=center style='text-align:center'><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt;
  font-family:黑体'>API名称<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=381 style='width:285.8pt;border-top:solid windowtext 1.5pt;
  border-left:none;border-bottom:solid windowtext .5pt;border-right:none;
  mso-border-left-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal align=center style='text-align:center'><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  黑体'>描述<span lang=EN-US><o:p></o:p></span></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:1'>
  <td width=128 style='width:96.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>VirtualQueryEx()<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=381 style='width:285.8pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>通过填充</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'>MEMORY_BASIC_INFORMATION</span></span><span
  style='mso-bookmark:_Toc16587483'><span style='font-size:9.0pt;font-family:
  宋体;mso-ascii-font-family:"Times New Roman";mso-hansi-font-family:"Times New Roman"'>结构检测进程内虚拟内存的区域</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:2'>
  <td width=128 style='width:96.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>VirtualAlloc()<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=381 style='width:285.8pt;border:none;border-bottom:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span
  style='font-size:9.0pt;font-family:宋体;mso-ascii-font-family:"Times New Roman";
  mso-hansi-font-family:"Times New Roman"'>保留或调配进程的部分虚拟内存,设置分配和保护标志</span></span><span
  style='mso-bookmark:_Toc16587483'><span lang=EN-US style='font-size:9.0pt'><o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
 </tr>
 <tr style='height:17.0pt;mso-yfti-irow:3'>
  <td width=128 style='width:96.0pt;border-top:none;border-left:none;
  border-bottom:solid windowtext .5pt;border-right:solid windowtext .5pt;
  mso-border-top-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:17.0pt'>
  <p class=MsoNormal><span style='mso-bookmark:_Toc16587483'><span lang=EN-US
  style='font-size:9.0pt'>VirtualFree()<o:p></o:p></span></span></p>
  </td>
  <span style='mso-bookmark:_Toc16587483'></span>
  <td width=381 style='width:285.8pt;border:none;border-bottom:solid windowtext .5pt;

⌨️ 快捷键说明

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