###User Defined Function###
_WinAPI_CreateDirectoryEx

###Description###
Creates a new directory with the attributes of a specified template directory.

###Syntax###
#include <WinAPIFiles.au3>
_WinAPI_CreateDirectoryEx ( $sNewDir, $sTemplateDir [, $tSecurity = 0] )


###Parameters###
@@ParamTable@@
$sNewDir
	The path of the directory to be created.
$sTemplateDir
	The path of the directory to use as a template when creating the new directory.
$tSecurity
	[optional] $tagSECURITY_ATTRIBUTES structure that specifies a security descriptor for the new directory.
	If this parameter is 0 (Default), the directory gets a default security descriptor. The ACL in the default
	security descriptor for a directory are inherited from its parent directory.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	True.
Failure 	False, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
The _WinAPI_CreateDirectoryEx() function allows you to create directories that inherit stream information
from other directories. This function is useful, for example, when you are using Macintosh directories, which
have a resource stream that is needed to properly identify directory contents as an attribute.


###Related###


###See Also###
@@MsdnLink@@ CreateDirectoryEx
