网站首页  计算机词典

请输入您要查询的字词:

 

字词 enumpagefiles
释义 EnumPageFiles
语法:
C++
BOOL WINAPI EnumPageFiles(
__out PENUM_PAGE_CALLBACK pCallbackRoutine,
__in LPVOID lpContext
);
EnumPageFiles功能
每个安装在系统页面文件调用回调例程。
参数
pCallbackRoutine [out]
阿为每个页面文件称为程序的指针。有关更多信息,请参阅EnumPageFilesProc。
lpContext [in]
用户定义的传递给回调例程的数据。
返回值
如果函数成功,返回值为TRUE。如果函数失败,返回值为FALSE。为了获得更多错误信息,调用GetLastError。
备注
与PSAPI版本的Windows 7和Windows Server 2008 R2的2起,这个函数被定义为K32EnumPageFiles在Psapi.h和Kernel32.lib和Kernel32.dll出口。但是,您应该始终作为EnumPageFiles调用这个函数。为了确保对程序将运行在Windows的早期版本的符号的正确决议,添加Psapi.lib到TARGETLIBS宏和编译程序与- DPSAPI_VERSION = 1。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderPsapi.h
LibraryKernel32.lib在Windows 7和Windows Server 2008 R2的Psapi.lib在Windows Server 2008,Windows Vista中的Windows Server 2003,和Windows XP/2000
DLLKernel32.dll在Windows 7和Windows Server 2008 R2的Psapi.dll在Windows Server 2008,Windows Vista中的Windows Server 2003,和Windows XP/2000
Unicode和ANSI namesEnumPageFilesW(Unicode)和EnumPageFilesA(ANSI)的
参见
EnumPageFilesProc
PSAPI函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==EnumPageFiles Function
Calls the callback routine for each installed pagefile in the system.
Syntax
C++
BOOL WINAPI EnumPageFiles(
__out PENUM_PAGE_CALLBACK pCallbackRoutine,
__in LPVOID lpContext
);
Parameters
pCallbackRoutine [out]
A pointer to the routine called for each pagefile. For more information, see EnumPageFilesProc .
lpContext [in]
The user-defined data passed to the callback routine.
Return Value
If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError .
Remarks
Starting with PSAPI version 2 for Windows 7 and Windows Server 2008 R2, this function is defined as K32EnumPageFiles in Psapi.h and exported in Kernel32.lib and Kernel32.dll. However, you should always call this function as EnumPageFiles. To ensure correct resolution of symbols for programs that will run on earlier versions of Windows, add Psapi.lib to the TARGETLIBS macro and compile the program with –DPSAPI_VERSION=1.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderPsapi.h
LibraryKernel32.lib on Windows 7 and Windows Server 2008 R2, Psapi.lib on Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP/2000
DLLKernel32.dll on Windows 7 and Windows Server 2008 R2, Psapi.dll on Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP/2000
Unicode and ANSI namesEnumPageFilesW (Unicode) and EnumPageFilesA (ANSI)
See Also
EnumPageFilesProc
PSAPI Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms682625(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:48:14