EnumPageFilesProc callback function
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 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
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: 10/26/2012