This chapter describes the interfaces of the virtual paging device (PAGESWAP) and the virtual page swap device (PAGEFILE). The virtual paging device manages all demand-paging operations for Windows, determining which pages can be saved or retrieved from disk. This device uses the virtual swap file device to read and write pages to disk. The swap file device manages the virtual memory swapping file and carries out all read and write operations requested by the paging device.