网站首页  词典首页

请输入您要查询的函数:

 

术语 getlogicaldrives
释义 GetLogicalDrives
语法:
C++
DWORD WINAPI GetLogicalDrives(void);
GetLogicalDrives函数
检索一个位掩码表示当前可用的磁盘驱动器。
参数
这个函数没有参数。
返回值
如果函数成功,返回值是一个位掩码表示当前可用的磁盘驱动器。位的位置0(最低有效位)驱动器A,1位的位置是驱动器B,第2位的位置是驱动器C,等等。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinBase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
GetLogicalDriveStrings
卷管理功能
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年9月3日
==英文原文==GetLogicalDrives Function
Retrieves a bitmask representing the currently available disk drives.
Syntax
C++
DWORD WINAPI GetLogicalDrives(void);
Parameters
This function has no parameters.
Return Value
If the function succeeds, the return value is a bitmask representing the currently available disk drives. Bit position 0 (the least-significant bit) is drive A, bit position 1 is drive B, bit position 2 is drive C, and so on.
If the function fails, the return value is zero. To get extended error information, call GetLastError .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinBase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
GetLogicalDriveStrings
Volume Management Functions
Send comments about this topic to Microsoft
Build date: 9/3/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa364972(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:24:25