网站首页  词典首页

请输入您要查询的函数:

 

术语 shgetdiskfreespaceex
释义 SHGetDiskFreeSpaceEx
语法:
BOOL SHGetDiskFreeSpaceEx( LPCTSTR pszVolume,
ULARGE_INTEGER *pqwFreeCaller,
ULARGE_INTEGER *pqwTot,
ULARGE_INTEGER *pqwFree
);
SHGetDiskFreeSpaceEx功能
检索磁盘的磁盘卷空间信息。
参数
pszVolume
一个以null 结尾的字符串,用于指定的大小信息检索量。这可能是一个驱动器号,通用命名约定(UNC)名称,或一个文件夹的路径。您不能使用null来表示当前驱动器。
pqwFreeCaller
一个ULARGE_INTEGER价值,它接收的字节卷上的可用电话申请号的地址。如果操作系统实现了每个用户的配额,这个值可能低于自由字节卷上的总数。
pqwTot
一个ULARGE_INTEGER值接收卷的总大小以字节为单位,地址。
pqwFree
一个ULARGE_INTEGER价值,它接收的字节的可用空间卷上的数字地址。
返回值
如果成功返回TRUE,否则返回FALSE。
备注
在类似的命名函数SHGetDiskFreeSpace只是为了SHGetDiskFreeSpaceEx的别名。当您调用SHGetDiskFreeSpace您真正调用这个函数。
这个函数调用GetDiskFreeSpaceEx函数如果它的作业系统。如果GetDiskFreeSpaceEx不可用,这是仿效调用GetDiskFreeSpace函数和操作的返回值。有关其他信息,请参阅GetDiskFreeSpaceEx文件。
功能信息
最低DLL版本 shell32.dll 5.0或更新版本
自定义ImplementationNo
Headershellapi.h
import libraryshell32.lib
最低经营systemsWindows 2000年,Windows Millennium Edition中
UnicodeImplemented为ANSI和Unicode版本。
参见
SHGetDiskFreeSpace,GetDiskFreeSpaceEx
==英文原文==SHGetDiskFreeSpaceEx Function
Retrieves disk space information for a disk volume.
Syntax
BOOL SHGetDiskFreeSpaceEx( LPCTSTR pszVolume,
ULARGE_INTEGER *pqwFreeCaller,
ULARGE_INTEGER *pqwTot,
ULARGE_INTEGER *pqwFree
);
Parameters
pszVolume
A null-terminated string that specifies the volume for which size information is retrieved. This can be a drive letter, Universal Naming Convention (UNC) name, or the path of a folder. You cannot use NULL to represent the current drive.
pqwFreeCaller
The address of a ULARGE_INTEGER value that receives the number of bytes on the volume available to the calling application. If the operating system implements per-user quotas, this value may be less than the total number of free bytes on the volume.
pqwTot
The address of a ULARGE_INTEGER value that receives the total size of the volume, in bytes.
pqwFree
The address of a ULARGE_INTEGER value that receives the number of bytes of free space on the volume.
Return Value
Returns TRUE if successful, FALSE otherwise.
Remarks
The similarly named function SHGetDiskFreeSpace is merely an alias for SHGetDiskFreeSpaceEx. When you call SHGetDiskFreeSpace you actually call this function.
This function calls the GetDiskFreeSpaceEx function if it is available on the operating system. If GetDiskFreeSpaceEx is not available, it is emulated by calling the GetDiskFreeSpace function and manipulating the return values. For additional information, see the documentation for GetDiskFreeSpaceEx.
Function Information
Minimum DLL Versionshell32.dll version 5.0 or later
Custom ImplementationNo
Headershellapi.h
Import libraryshell32.lib
Minimum operating systemsWindows 2000, Windows Millennium Edition
UnicodeImplemented as ANSI and Unicode versions.
See Also
SHGetDiskFreeSpace , GetDiskFreeSpaceEx
==原始网址==http://msdn.microsoft.com/en-us/library/bb762177(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:23:13