函数参考


_WinAPI_PathBuildRoot

Creates a root path from a given drive number.

#Include <WinAPIEx.au3>
_WinAPI_PathBuildRoot ( $iDrive )

参数

$iDrive The desired drive number. It should be between 0 and 25.

返回值

Success The constructed root path.
Failure Empty string and sets the @error flag to non-zero.

注意/说明

None

相关

详情参考

在MSDN中搜索


示例/演示


#Include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

For $i = 0 To 2
    ConsoleWrite(_WinAPI_PathBuildRoot($i) & @CR)
Next