函数参考


_WinAPI_CreateDirectory

Creates a new directory.

#Include <WinAPIEx.au3>
_WinAPI_CreateDirectory ( $sDir [, $tSecurity] )

参数

$sDir The path of the directory to be created.
$tSecurity [可选参数] $tagSECURITY_ATTRIBUTES structure that specifies a security descriptor for the new directory.
If this parameter is 0, the directory gets a default security descriptor. The ACL in the default
security descriptor for a directory are inherited from its parent directory.

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

None

相关

详情参考

在MSDN中搜索