函数参考


_WinAPI_EnumPageFiles

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 值.

注意/说明

None

相关

详情参考

在MSDN中搜索


示例/演示


#Include <Array.au3>
#Include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

Global $Data = _WinAPI_EnumPageFiles()

_ArrayDisplay($Data, '_WinAPI_EnumPageFiles')