EnumPageFilesProc callback function
Applies to: desktop apps only
An application-defined callback function used with the EnumPageFiles function.
The PENUM_PAGE_FILE_CALLBACK type defines a pointer to this callback function. EnumPageFilesProc is a placeholder for the application-defined function name.
Syntax
BOOL CALLBACK EnumPageFilesProc( __in LPVOID pContext, __in PENUM_PAGE_FILE_INFORMATION pPageFileInfo, __in LPCTSTR lpFilename );
Parameters
- pContext [in]
-
The user-defined data passed from EnumPageFiles.
- pPageFileInfo [in]
-
A pointer to an ENUM_PAGE_FILE_INFORMATION structure.
- lpFilename [in]
-
The name of the pagefile.
Return value
To continue enumeration, the callback function must return TRUE.
To stop enumeration, the callback function must return FALSE.
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
Unicode and ANSI names | PENUM_PAGE_FILE_CALLBACKW (Unicode) and PENUM_PAGE_FILE_CALLBACKA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 2/7/2012
EnumPageFiles is not in Windows 2000 Professional
The current documentation reports the minimum supported client as
Windows 2000 Professional. The EnumPageFiles function does not exist in
the Windows 2000 Professional SP4 version of psapi.dll. The minimum
supported client is Windows XP. It it likely this does not exist in
Windows 2000 Server either and that the minimum supported server is
Windows Server 2003.
- 7/5/2011
- Marc Kupper