Retrieves information for each installed pagefile in the system.
#Include <WinAPIEx.au3>
_WinAPI_EnumPageFiles ( )
| None. |
| Success | The 2D array containing pagefile's information. |
| [0][0] | Number of rows in array (n) |
| [0][i] | Unused |
| [n][0] | The path to pagefile. |
| [n][1] | The total size of the pagefile, in bytes. |
| [n][2] | The current pagefile usage, in bytes. |
| [n][3] | The peak pagefile usage, in bytes. |
| 失败: | 返回 0 并设置 @error 标志为非 0 值. |
在MSDN中搜索
#Include <Array.au3>
#Include <WinAPIEx.au3>
Opt('MustDeclareVars', 1)
Global $Data = _WinAPI_EnumPageFiles()
_ArrayDisplay($Data, '_WinAPI_EnumPageFiles')