# Function Reference

# _WinAPI_EnumPageFiles

Retrieves information for each installed pagefile in the system

#include <WinAPISys.au3>
_WinAPI_EnumPageFiles ( )

## Return Value

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.
Failure: | Sets the @error flag to non-zero.

## See Also

Search EnumPageFiles in MSDN Library.

## Example

    #include <Array.au3>
    #include <WinAPISys.au3>

    Local $aData = _WinAPI_EnumPageFiles()

    _ArrayDisplay($aData, '_WinAPI_EnumPageFiles')