PageFile_Get_Version


VxDcall PageFile_Get_Version
jc      not_installed      ; carry set if not installed
mov     version, eax       ; version number (400h for Windows 95)
mov     maxsize, ecx       ; max. size of swap file in pages
mov     pager_type, bl     ; pager type; see below

Gets the virtual paging device version number, the type of paging in effect, and the maximum size of the paging file in pages. Uses Flags.

EAX

Version number of paging device. Major version in AH, minor in AL.

ECX

Maximum size of the swap file, in pages. This value is valid only after device initialization.

BL

Type of page swap device: 1 if none, 2 if the swap device uses MS-DOS, 3 if the swap device uses the Windows 95 layered device driver. This value is not valid until the PageFile_Init_File service has been called.